Write a shell script that serves as a command menu for a user. The script should prompt them for which command they want to run. Ask them if they want to run a web browsers (links), edit a text file (vi), check their mail (pine) or exit the script. If they choose to browse the web, it should ask them which web page to start with. If they edit a text file, it should aks them which file to edit. If you want to really impress me, make it so that after each task, the menu returns. That is, if they choose links, then it should return them to the menu after they close links.
I am looking for the following commands in the script:
if, then, else statements
echo/read statements
exit statement
while statement (to impress me)
2007-05-07
14:36:33
·
5 answers
·
asked by
ms.nadezhda
1
in
Computers & Internet
➔ Programming & Design