[SunHELP] Sun Script
vishal at netsolutionsindia.net
Wed Apr 28 13:49:43 CDT 2004
I would like to have the follwing script :
Write a UNIX shell script that will prompt the user with information to
Letter "d", "o" or "s" to execute the command as follows:
d - to list the contents of directory in long format.
o - <name> to check if a file <name> is in the current directory and
displays if it is present or not
s - <name> to make a new directory called <name> and change to a the new
If an input other than "d", "o" or "s" is provided, display the message "no!
try again". Put your code in a loop, so that the shell script is terminated
by inputting the number 6.
if somebody can help me to write this.
More information about the SunHELP