BT0051

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

August 2010

Bachelor of Science in Information Technology (BScIT) – Semester 5


BT0051 – Unix Operating System – 2 Credits
(Book ID: B0584)
Assignment Set – 1 (30 Marks)

Answer all questions 3 x 10 = 30


1. Using the following Directory tree structure, if IT is your Home directory,:

Root

IT MBA

BSc-IT Finance
MCA Marketing

UNIX

 Which command do use to navigate to: Bsc-IT directory?


 Which command is used to display your current directory?
 Which command is used to directly navigate to root directory from BSc-IT
directory?
 Which command is used to create a new directory in BSc-IT called UNIX?
2. Use cat command to:
Display text “Welcome Home” on your screen
Redirect the text “Welcome Home” to file called file-1
Append text “Friends” to the contents of file-1
3. Which command is used to search following patterns in file by name file-1: “TENDULKAR,”
“tendulkar,” “TeNdUlKar”?
August 2010
Bachelor of Science in Information Technology (BScIT) – Semester 5
BT0051 – Unix Operating System – 2 Credits
(Book ID: B0584)
Assignment Set – 2 (30 Marks)

Answer all questions 6 x 5 = 30

1. Define Process. Which is the command used to find out currently executing Process in
UNIX?

2. What is the output of :


$ ps-e
$ ps-a commands

3. Which command is used to transfer a Foreground process to Background? Give one


example.

4. Say you have three Process P1, P2 and P3 running in background. You want to assign
priorities to them, which command is suitable give its syntax?

5. Which command is used to:


Fetch names from a file Name.txt sort them and remove any duplicate entries.

6. Which commands are used to carry out following operations in vi- Editor:
 To save a file
 To start editing a file
 To save and Quit a file
 To quit without saving (Forced quit)

You might also like