I am trying to do this task but dont seem to be getting any where can any1 help?
Write a C shell script, exe, which changes the permissions of a file to make it executable by anyone.
Usage
The script takes one parameter and should be called as follows:
exe filename
Output
Your script should use the chmod command to change the permissions of the file.
Your script should output a message to the user to indicate that the file’s permissions have been changed.
Your script should output an error message if any of the following error conditions occurs:
• the user calls the script with the wrong number of parameters
• the file does not exist
• the file is not an ordinary file
thanks in advance.