writing shell program with introduction and conclusion
refer to the file uploaded for any further detials.
NETWORK OPERATING SYSTEM
ASSIGNMENT
1. Write a shell script program that takes the name of a file or directory as an argument and reports if the file is a directory, regular file or other and also reports if the user has read, write and execute permission on the file or directory. Use a sequence of if statements on the file name to determine the information.
2. Write a shell script program that takes two integer arguments. The second argument is assumed to be greater than the first. The output of the program is a counting of numbers beginning at the first number and ending with the second number.
3. Write a shell script program that removes all zero length ordinary files in the directory passed as an optional argument. If you do not specify the directory argument, the script uses the present working directory as the default argument. Do appropriate exception handling in your script. Show a few sample runs of your script.
4. Write a shell script [login to view URL] that takes an unspecified number of command line arguments (up to 9) of ints and finds their sum. Modify the code to handle more than 10 number of command line arguments
REPORT
Cover Page
Table of contents
Introduction
Program Design
The code
Testing
Output screen shots
A conclusion with your reflection on the whole process