Need Help with Shell Scripts!!!!!!!!!!!
I have never used Linux or Unix before and have been asked to try to write a shell script given the real UNIX person found a better job. But anyway can anyone give me any help. Here is what they are asking for:
The want the script to run a "ps" command. The usage of the script is ps [search string] [ps options]
They want it to run with from 0 to 2 arguments (whatever they are).
1. no arguments ps -ef | less
2. 1 argument ps -el and pipe to grep (whatever that is)
3. 2 arguments ps-el to grep and output to less.
Can someone help me with this. I will be happy to help with any networking questions you may have (roiuters, switches, etc..)