2010 Rajasthan Technical University B.Tech 3 Semester Computer science & engineering "Fundamental of Linux & shell Programming" question paper

Question Paper Details:


University: Rajasthan Technical University (RTU)
Course: B.Tech Computer science & engineering
Subject Fundamental of Linux & shell programming
Exam Year:  February 2010
Year or Semester: Second year/ Third Semester
Paper Code: 3E2077


Unit-I1. a) Answer the following questions using shell command only:
-How can you only see the first 14 lines of a file?
-What is the command to list ALL (Hidden also) files of current directory and its sub directories?
-Which two commands can you use to delete directories?
-What command you execute to display the last five commands you have entered?
-How can you uncompress the file named ‘xyz.bz2’?
-How can you count the number of words in a file named ‘f1’?
-Which command is used to count the number of user logged in?
-Which command is used to over write the contents of a file named ‘f1’?         [Marks 8]
b) What are the various methods to get help in Linux?   [Marks 3]
c) Explain Input/Output redirection and Piping in detail. [Marks 5]

OR

1 a) Explain the term ‘Open Source Technology”. Also list the criteria associated with open source softwares. [Marks 4]
b) Explain Linux file system tree architecture with the help of diagram. Describe how linuz is more secured than other operating systems. [Marks 6]
c) List the various permissions used for files and directories in Linux? How can you change the permissions using chmod. chgrp. chown commands? [Marks 6]

Unit-II

2. a) Explain vi editor and its modes with the help of diagram. Also explain its features. [Marks 8]
b) Explain advanced vi tools, tricks, and techniques in detail. [Marks 8]

OR

2. a) Explain the yank, put and delete commands used in vi editor. [Marks 6]
b) How can you search a specified pattern in a vi editor? [Marks 4]
c) Explain the following:
i) Features of vi editor
ii) Cursor movement in vi editor. [Marks 6]

Unit-III

3. a) What do you understand by the term ‘X’ in X-windows? Explain the components of X-windows system. [Marks 8]
b) Explain the yum and rpm commands used for installation, deletion, updation of packages. [Marks 6]
c) How can you run X-client on a remote machine? [Marks 2]

OR

3. a) Explain the concept of virtual desktop windows manager in X-windows system. Also explain its features. [Marks 8]
b) Explain the following:
i) X-Display
ii) X-Authority. [Marks 8]

Unit-IV

4. a) What is the purpose of shell? Explain different types of shell. [Marks 8]
b) Explain the following:
i) Command line editing
ii) File name completion         [Marks 8]

OR

4. a) Explain the special characters used for searching files and path name. [Marks 7]
b) Explain the following:
i) Features of bash
ii) Process of debugging a bash script
iii) Variables used in bash. [Marks 9]

Unit-V

5. a) Write Shell Script to find out biggest number from given three numbers. Numbers are supplied as command line argument. Print error if sufficient arguments are not supplied. [Marks 7]
b) Explain the following:
i) File name substitution
ii) Job controlling
iii) Awk utility.            [Marks 9]

OR

5. a) Write shell script using for loop to print the following pattern on screen:
|_
|  |_
|  |  |_
|  |  |  |_
|  |  |  |  |_               [Marks 6]

b) Explain the role of CVS. Also explain the organizational features of CVS.  [Marks 5]
c) Explain all the decision making statements with syntax. [Marks 5]

  Return to Question Paper

2 Comments
  1. February 10, 2012
  2. January 23, 2014