0% found this document useful (0 votes)
50 views

Unix and Shell Programming

This document provides exam questions for a Unix and Shell Programming course. It contains 8 questions related to Unix commands, utilities, filters, shell scripting, and file management system calls. Students are instructed to answer 5 of the 8 questions, which cover topics such as the features of Unix, commands like echo and who, process and disk utilities, filters, patterns and actions in awk, selection and repetition statements in korn shell, environmental variables in C shell, and system calls for opening, reading, writing, creating, and closing files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Unix and Shell Programming

This document provides exam questions for a Unix and Shell Programming course. It contains 8 questions related to Unix commands, utilities, filters, shell scripting, and file management system calls. Students are instructed to answer 5 of the 8 questions, which cover topics such as the features of Unix, commands like echo and who, process and disk utilities, filters, patterns and actions in awk, selection and repetition statements in korn shell, environmental variables in C shell, and system calls for opening, reading, writing, creating, and closing files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

RA

B. Tech III Year II Semester Examinations, December/January -2011-12


UNIX AND SHELL PROGRAMMING
(INFORMATION TECHNOLOGY)
Time: 3 hours Max. Marks: 80
Answer any five questions
All questions carry equal marks
---

1.a) What are the features of Unix operating system?


b) Explain the following Unix command with examples: echo, printf, who, wc,
mkdir. [8+8]

2. Explain various process utilities and disk utilities in Unix. [16]

3. What is a filter? Explain various filters in Unix. [16]

4.a) Differentiate between egrep() and fgrep().


b) Write a shell script to sort the content of a file. [8+8]

5.a) Explain various patterns and actions in awk.


b) Write an awk script to perform simple arithmetic operations. [8+8]

6. Give the syntax of selection and repetition statements in korn shell. Explain them
with example. [16]

7.a) Explain various environmental variables in C shell.


b) Write a short note on positional parameters in C shell. [8+8]

8. Explain the following file management system calls:


a) open( ) b) read( ) c) write( ) d) create( ) e) close( ) [16]

--ooOoo--

You might also like