Professional Documents
Culture Documents
R7411902 Unix Programming
R7411902 Unix Programming
R07
UNIX PROGRAMMING
(Electronics and Computer Engineering)
Time: 3 hours Answer any FIVE questions All questions carry equal marks ***** 1 (a) Explain the architecture of unix OS. (b) Explain the following commands: (i) tar (iii) cat (ii) echo (iv) who (a) Explain the various file handling utilities. (b) Explain the following with example. (i) finger (iii) grep (ii) ftp (iv) jouin (a) Write a short note on I/o redirection operators. (b) Explain the following commands with example. (i) cut and paste (ii) diff (iii) cmp (a) What is grep? Explain the grep family. (b) Explain the sed command with example. (a) What is awk? Explain in brief features of awk. (b) Explain with example the string functions in awk.
Max. Marks: 80
(a) What is kom shell? Write the features of kom shell. (b) Explain the decision making and repetition statements in kom shell with example program. (a) Write a C program to find whether given number is palindrome or not. (b) Explain the following: (i) Environment variables in C shell (ii) Eval command (a) Explain the various system calls for file management with example. (b) Explain the following system calls for directory management with examples. (i) Open dir (iii) rm dir (ii) Close dir (iv) mk dir
*****