Kishkinda University
Department of Master of Computer Application
Assignemnt -2
Course Name: Unix OS & Shell Programming Course Code: 23MCA15
1. Explain the architecture of unix operating system with a neat diagram.
2. Explain ls-l command with all the seven fields and its significance
3. Define absolute path name and relative path name explain each one with an example.
4. Explain the following commands with an example
i) cat ii)echo iii)sort iv)wc
5. Explain the following commands with an example.
i) date ii)cal iii) type
6. Describe commands like more, less, head, and tail to view file contents
7. Explain UNIX file system with a neat diagram.
8. Define directory. Explain the following commands a)mkdir b)pwd c)rmdir
9. Explain if and while control statements in shell script with suitable programs.
10. Write the output for the following commands
i) grep ^[^3] abcd
ii) grep -v “please delete” [Link] | wc
Ii) ls | wc-l >fcount
cat *.c | wc –c
11. What is shell scripting? Explain case condition in shell programming with a suitable example.
12. What are wild card characters? Explain any of them with suitable example.
13. In Vi editor, explain how to insert text and save the file.
14. Explain grep command. List its options with its significance.
15. Explain the different modes in which vi editor works.