Question: i need these 3 points solved in ubuntu terminal, without the use of arrays and each of the points should be scripted in a file
i need these 3 points solved in ubuntu terminal, without the use of arrays and each of the points should be scripted in a file of it's own
1. myhelp command1 command2 command3 ... This command displays one line of help/usage for any of the six commands (myfinger, mywhich, mycp, mydel, myhelp, and myexit) which can be passed as arguments. You are free to choose proper wording for each help line. The command may take more than one argument. If no arguments are entered, the command should display help for all six commands: myfinger, mywhich, mycp, mydel, myhelp, and myexit Example usage: myprompt > myhelp mydel myexit [mydel] This command deletes any existence file(s)/directory(s) given as arguments. [myexit] This command lets the users exit 'mysh' script and return to original shell. myprompt >
2. myexit This command lets the users exit the shell script mysh and return to their original shell. This command takes no arguments. Example usage: myprompt > myexit local-machine$ 3 COMP 311 : Project #3
3. If any commands other than the six commands above are entered, mysh should display the message: Command not found. An example usage: myprompt > hello Command not found myprompt >
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
