
- Forum
- Operating Systems
- Shell Programming
- Want to Remove Command
Want to Remove Command
This is a discussion on Want to Remove Command within the Shell Programming forums, part of the Operating Systems category; I have written number of shell scripts for managing the process of administration and now I am in the process ...
-
Want to Remove Command
I have written number of shell scripts for managing the process of administration and now I am in the process of testing these shell scripts. But what I did when I wrote these shell scripts was I placed mail sending option using rmail for sending mails to users. But now when I am making the overall testing of these scripts I must not have the mail commands in all these scripts. I cannot individually go to each of these scripts and remove all these as I have thousands of scripts and removing the rmail command from each of these thousands scripts is a cumbersome task. Suggest me a easy option for removing this rmail command from all of my shell scripts so that I can test the overall process.
-
If you think deeply you would get that rmail is a sub process of emacs system. So to handle something with rmail we can do that equivalently in the bigger process namely emacs system. Instead of removing the rmail command you can disable the rmail command from all the shell scripts you have. So place the disabling command of rmail, in the emacs system and you would
have your rmail command from all of your shell scripts disabled.

Reply With Quote





