RTU Previous Question Papers B-Tech CSE 3rd Semester Fundamental of Linux & shell programming Feb 2010

RTU Previous Question Papers B-Tech

Computer science & engineering 3rd Semester

Fundamental of Linux & shell programming Feb 2010

Paper Code: 3E2077

Unit-I

1. 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? b) What are the various methods to get help in Linux?

c) Explain Input/Output redirection and Piping in detail.
OR
1 a) Explain the term Open Source Technology”. Also list the criteria associated with open source softwares.

b) Explain Linux file system tree architecture with the help of diagram. Describe how linuz is more secured than other operating systems.

c) List the various permissions used for files and directories in Linux? How can you change the permissions using chmod. chgrp. chown commands?

Unit-II

2. a) Explain vi editor and its modes with the help of diagram. Also explain its features.

b) Explain advanced vi tools, tricks, and techniques in detail.
OR
2. a) Explain the yank, put and delete commands used in vi editor.

b) How can you search a specified pattern in a vi editor?

c) Explain the following:
i) Features of vi editor
ii) Cursor movement in vi editor.

Unit-III
3. a) What do you understand by the term X in X-windows? Explain the components of X-windows system.
b) Explain the yum and rpm commands used for installation, deletion, updation of packages.

c) How can you run X-client on a remote machine?
OR
3. a) Explain the concept of virtual desktop windows manager in X-windows system. Also explain its features.

b) Explain the following:
i) X-Display
ii) X-Authority.

 

Unit-IV
4. a) What is the purpose of shell? Explain different types of shell.

b) Explain the following:
i) Command line editing
ii) File name completion
OR

4. a) Explain the special characters used for searching files and path name.

b) Explain the following:
i) Features of bash
ii) Process of debugging a bash script
iii) Variables used in bash.
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.

b) Explain the following:
i) File name substitution
ii) Job controlling
iii) Awk utility.
OR
5. a) Write shell script using for loop to print the following pattern on screen:
|_
| |_
| | |_
| | | |_
| | | | |_
b) Explain the role of CVS. Also explain the organizational features of CVS.

c) Explain all the decision making statements with syntax.

Leave a Comment