You are on page 1of 1

Code: CS05566

SS
UNIX PROGRAMMING
(Computer Science & Systems Engineering)

B.Tech III Year I Semester (R09) Regular & Supplementary Examinations December/January 2013/14

Time: 3 hours Answer any FIVE questions All questions carry equal marks
***** 1 (a) (b) List and explain the various disk utility commands. Explain the following commands in detail. (i) ulimit (ii) ps (iii) who (iv) finger Give brief description on the following commands. (i) uniq (ii) paste (iii) join (iv) tee (v) cpio 3 (a) (b) (a) (b) (a) (b) (vi) Sort (Cat

Max. Marks: 70

Write a shell script to display current date and time. Write a c program to find the sum of individual digits of any given number. Give brief description about the shell responsibilities. Write short notes on the shell control structures. Distinguish between dup and dup2. Explain the usage of the following system calls (i) link (ii) symlink (iii) ioctl (iv) stat Compare fork system call with that of the vfork. Explain kill, raise and alarm system calls in detail. Discuss in detail about the file locking techniques.

(a) (b)

7 8 (a) (b)

Explain the interprocess communication by using pipes. Discuss in detail about the usage of semaphores in interprocess communication.

*****

You might also like