1
Dec 2014 Branch : CSE Unxi & Shell Programming (NEW) Unit-I Q.1 Define super block. 2 Q.2 Explain the architecture of unix operating system with neat diagram? 7 Q.3 What is Vi editor? Explain various modes of Vi editor with diagram? 7 Q.4 Differentiate between the following : 7 (i) cmp and comm (ii)head and tail Unit-II Q.5 Define shell. 2 Q.6 Write a shell program to count the characters, counts the lines and the words in a particular file. 7 Q.7 Write a shell program to change all lower case letters in a file to upper case. 7 Q.8 Write short notes on: (i) Alias (ii) Quotes (iii) Command substitution Unit-III Q.9 Define standard streams. 2 Q.10 Write a function to find the smallest of 5 integers in awk. 7 Q.11 Write an awk script to copy lines 22 to 23 after line 56. 7 Q.12 Write short notes on : 7 (i) Grep (ii) Sed Unit-IV Q.13 Define eval command ? 2 Q.14 Explain various korn shell features? 7 Q.15 Write a korn script to generate Fibonacci series upto 10 terms? 7 Q.16 Write a korn script to check whether the given number is prime or not? 7 Unit-V Q.17 Define inode. 2 Q.18 Explain various C shell features. 7 Q.19 Explain the various fields of in-core inode? 7 Q.20 Explain namei algorithm? 7

Unix & shell programming (New).docx

Embed Size (px)

DESCRIPTION

USP

Citation preview

Dec 2014Branch : CSEUnxi & Shell Programming (NEW) Unit-IQ.1Define super block.2Q.2Explain the architecture of unix operating system with neat diagram?7Q.3What is Vi editor? Explain various modes of Vi editor with diagram?7Q.4Differentiate between the following :7(i) cmp and comm(ii)head and tail Unit-IIQ.5 Define shell. 2Q.6Write a shell program to count the characters, counts the lines and the words in a particular file.7Q.7Write a shell program to change all lower case letters in a file to upper case.7Q.8Write short notes on:(i) Alias (ii) Quotes(iii) Command substitution Unit-IIIQ.9Define standard streams. 2Q.10Write a function to find the smallest of 5 integers in awk.7Q.11Write an awk script to copy lines 22 to 23 after line 56. 7Q.12Write short notes on :7(i) Grep(ii) SedUnit-IVQ.13 Define eval command ?2Q.14 Explain various korn shell features?7Q.15 Write a korn script to generate Fibonacci series upto 10 terms?7Q.16 Write a korn script to check whether the given number is prime or not? 7 Unit-VQ.17 Define inode.2Q.18Explain various C shell features. 7Q.19Explain the various fields of in-core inode?7Q.20Explain namei algorithm?7