A Little help for Shell Script
CME 1003 Shell Script Assignment
A shell script is a script written for the shell, or command line interpreter, of an operating system. Typical operations performed by shell scripts include file manipulation, program execution, printing text etc.
Shell : In computing, a shell is a piece of software that provides an interface for users. In this project, you should prepare a Linux shell script which performs following operations:
Your script will ask user 4 options : Create, Move, Delete, Copy. The option will be applied to
Directories and/or Files which contain given name.
Create : Reads a directory name and number from user and creates directories.
Example : directory name = student
number = 13
student1, student2, student3... student13 directories will be created by this option.
While creating each folder, script will ask user directory permissions. (permissions could
be given by number values like; 775 for rwxrwxr-x)
( NOTE: If directories exist, inform user!)
Move : Name and new location is taken from user.
Copy : Name and new location is taken from user.
Delete : Name is taken from user.
NOTE : Each operation will be logged in log.txt such as:
Example : Directory documentation_13.11.2007 is moved to upper directory
All of these options will be listed as a menu for user. At the end of each operation menu should
be shown unless user selects Exit option. The shell script should display appropriate messages
such as warning, information.
Example : If given filename does not exist, warn user.
NOTE : The wildcards should be accepted by your shell script as user input !
Please help me..