0% found this document useful (0 votes)
2 views

Unix Assignment 2 1

The document is an assignment for a Master of Computer Application course focused on Unix OS and Shell Programming. It includes various tasks such as explaining Unix architecture, commands, file systems, and shell scripting concepts. Additionally, it requires examples and explanations for specific commands and functionalities within the Unix environment.

Uploaded by

Supriya Udnoor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Unix Assignment 2 1

The document is an assignment for a Master of Computer Application course focused on Unix OS and Shell Programming. It includes various tasks such as explaining Unix architecture, commands, file systems, and shell scripting concepts. Additionally, it requires examples and explanations for specific commands and functionalities within the Unix environment.

Uploaded by

Supriya Udnoor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

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” filename.txt | 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.

You might also like