Linux and Shell programming - Lab Syllabus
Linux and Shell programming - Lab Syllabus
Programs 36 hours
1. Write a shell script to stimulate the file commands: rm, cp, cat, mv, cmp, wc, split, diff.
2. Write a shell script to show the following system configuration :
a. currently logged user and his log name
b. current shell , home directory , Operating System type , current Path setting ,
current working directory
c. show currently logged number of users, show all available shells
d. show CPU information like processor type , speed
e. show memory information
3. Write a Shell Script to implement the following: pipes, Redirection and tee commands.
4. Write a shell script for displaying current date, user name, file listing and directories by
getting user choice.
5. Write a shell script to implement the filter commands.
6. Write a shell script to remove the files which has file size as zero bytes.
7. Write a shell script to find the sum of the individual digits of a given number.
8. Write a shell script to find the greatest among the given set of numbers using command line
arguments.
9. Write a shell script for palindrome checking.
10. Write a shell script to print the multiplication table of the given argument using for loop.