Posts tagged Shell script
Shell script to list out the contents of a file
Apr 29th
This shell script will list out the contents of a file using MENU DRIVEN, considering the following:
- The user enters the file name (may enter a path)
- The script reads in the file name
- It checks if it exists and it is a file
- If it does not, it warns the user
- Otherwise it should list the contents
Read the rest of this entry »
Shell script to create directory that doesn’t exist
Dec 27th
Writing a bash shell script called “ test.sh ” that will creates directory using MENU DRIVEN, considering the following:
- Making a new directory using (mkdir.sh)
- Read In directory name (may enter a path)
- Check If it exists.
- If it does, warn user.
- Otherwise create it.





