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

UNIX & Shell Programming June 2010

This document contains past examination questions from a Third Semester B.E. Degree Examination in UNIX and Shell Programming. It includes 8 questions split into two parts - Part A and Part B. The questions cover various topics related to UNIX operating system, file permissions, vi editor, shell scripting, grep, sed, awk, and Perl. Students were asked to answer any 5 full questions selecting at least 2 from each part.

Uploaded by

Prasad C M
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
965 views

UNIX & Shell Programming June 2010

This document contains past examination questions from a Third Semester B.E. Degree Examination in UNIX and Shell Programming. It includes 8 questions split into two parts - Part A and Part B. The questions cover various topics related to UNIX operating system, file permissions, vi editor, shell scripting, grep, sed, awk, and Perl. Students were asked to answer any 5 full questions selecting at least 2 from each part.

Uploaded by

Prasad C M
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

For More Question Papers Visit - http://pediawikiblog.blogspot.

com

06CS36

Third Semester B .. E. Degree Examination, May/June 2010 UNIX and Shell Programming
Time: 3 hrs.

Max. Marks: 100 Note: Answer any FIVE full questions, selecting at least TWO questions from each part.
PART-A

a. Explain salient features of UNIX operating system. b. Explain the different types of files supported in UNIX. c. Explain the following commands, with example : mailx, passwd, stty, who a. Briefly describe the different ways of setting file permissions. b. What are the three modes of vi editor? Explain. c. What is a navigation? What are commands used for navigation in vi editor? a.

(06 Marks) (06 Marks)

(08 Marks)
(06 Marks) (06 Marks) (08 Marks)

What are environmental variables? State their significance. (06 Marks) b. What are three standard files used by UNIX commands? Explain. (06 Marks) c. What is shell process? What are three different phases in the creation of process? (08 Marks) a. What are hard links and symbolic links? b. Explain with an example, find command and its operators. c. Explain the following filters, with examples : head, tail, cut, tr. PART-B
(06 Marks) (06 Marks)

(08 Marks)

a. How to search for a pattern using grep? What are the options used by grep? b. Explain extended regular expression (ERE) set used by grep. c. What are internal commands used by sed?

(08 Marks) (06 Marks) (06 Marks)

a. What are the special parameters used by the shell? (06 Marks) b. Explain how numeric and string comparison is done by using test. (06 Marks) c. Write a menu driven shell script to display list of files, process of user, todays date and users of the systern. (03 Ma:rks) a. Explain any three built in variables used in awk. b. Give the syntax of three control flow statements used by a wk. c. Explain built in functions used in awk.
(06 Marks) (06 Marks) (08 Marks) (06 Marks) (06 Marks) {08 Marks)

a . Explain string handling function in Perl. b. Explain split and join functions. c. Write a Perl script to convert a decimal number to binary.

*****
For More Question Papers Visit - http://pediawikiblog.blogspot.com

You might also like