You are on page 1of 1

Code: R7410312

R07
UNIX AND SHELL PROGRAMMING
(Mechanical Engineering)

B.TECH IV Year I Semester (R07) Supplementary Examinations, November 2012

Time: 3 hours Answer any FIVE questions All questions carry equal marks **** 1 (a) Explain various features of Unix. (b) Give brief description about the following : (a) stty (b) Od (c) gzip (d) uname

Max Marks: 80

(a) Explain various text processing utilities, with a suitable example for each. (b) Explain about Unix file system. (a) Write a shell program to display beginning and end of file. (b) How do you customize shell? (a) What is grep command? Write the syntax of grep. Explain the usage of grep. (b) Write and explain the applications of sed. (a) Explain the operations of awk. (b) Write the applications of sed and awk. Which is best? Justify. (a) Explain any two files of interactive Korn shell, and explain how these two files can be used in Unix Programming. (b) How can we change positional parameters? Explain using Korn shell programming. (a) Explain the features of C shell, differentiate between Korn shell and C shell. (b) Write down the procedure for debugging the C scripts in unix. Explain the following system calls for file management with syntax (a) lseek (b) symlink (c)fstat (d) chown ******

You might also like