16CS516-Unix & Shell Programming
16CS516-Unix & Shell Programming
Subject with Code : UNIX AND SHELL PROGRAMMING (16CS516) Course & Branch: B.Tech - CSE
Year & Sem: III-B.Tech & I-Sem Regulation: R16
UNIT –I
1. (a) Describe in detail about the structure of UNIX. 5M
(b) How can you say that Unix operating system provides more security than other operating
systems? 5M
2. What information is presented when the following commands are entered? 5*2=10M
(a) date (b) who (c) passwd (d) bc (e) script
3. (a) Define vi Editor and explain its modes. 5M
(b) Brief about the commands used in the vi Editor. 5M
4. What are the file types available in Unix? Discuss file operators with suitable examples. 10M
5. (a) Explain the security levels provided in Unix environment. How to change permissions of a file?
6M
(b) Brief umask command. 4M
6. What is user and group in Unix? Explain the related commands for changing ownership and group.
10M
7. Write about the operations unique to directories alone. 10M
8. Write about the operations that can be performed on both directories and file. 10M
9. What is meant by path and pathname in Unix? Explain them in detail. 10M
10. a) Distinguish between time – sharing and client/server environment. 2M
b) Name the two categories of regular files. Does UNIX recognize the difference between these two
categories? Explain your answer. 2M
c) Write syntax for changing ownership and group name on a given file/s 2M
d) Discuss about various modes of vi editor. 2M
e) Write the command for the following 2M
i. To display time in GMT
ii. To display time in format hour: minute: second
UNIT 2
UNIT 3
UNIT 4
UNIT 5