Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
67Activity
0 of .
Results for:
No results containing your search query
P. 1
BT0051 to BT0055 all in one BScIT SMU Assignment (complited)

BT0051 to BT0055 all in one BScIT SMU Assignment (complited)

Ratings: (0)|Views: 3,777 |Likes:
Published by raunak19
All in one smu BScIT 5th sam assignment
All in one smu BScIT 5th sam assignment

More info:

Published by: raunak19 on Apr 15, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

10/06/2012

pdf

text

original

 
BT0051 – 01Marks –30UNIX OPERATING SYSTEMS
1.Using the following Directory tree structure, if IT is your Home directory,:
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-ITdirectory?
Which command is used to create a new directory in BSc-IT called UNIX?
Which is the command to remove directories?
Which is the command used to move UNIX directory to Marketing directory?Ans ->1 cd /IT/BSc-IT2 pwd3 cd4 mkdir /IT/BSc-IT/UNIX5 rmdir 6 mv UNIX NUNIXRootITMBAMCAFinanceMarketingBSc-ITUNIX
 
2.Use
cat 
command to:Display text
“Welcome Home”
on your screenRedirect the text
“Welcome Home”
to file called
 file-1
Append text “Friends” to the contents of file-1Ans-> $ cat >file-1Welcome HomeCrlt +d$ Cat >>file-1FriendsCrlt +d3.Which command is used to search following patterns in file by name file-1:
“TENDULKAR,” “tendulkar,”
 
“TeNdUlKar”?
 Ans -> $ cat file-1|grep TENDULKAR $ cat file-1|grep tendulkar $ cat file-1|grep TeNdUlKar 
 
BT0051 – 02Marks –30UNIX OPERATING SYSTEMS
1.Define Process. Which is the command used to find out currently executing Processin UNIX?
Ans->
A process is simply an instance of a running program. A process is said to be bornwhen the program starts execution and remains alive as long as the program is active.$ Ps -e2.What is the output of :$ ps-e$ ps-a commands
Ans->1
All processes including user and system processes2 Processes of all user excluding process not associated with terminal3.Which command is used to transfer a Foreground process to Background? Give oneexample.
Ans-> nohup sort emp.lst &
Bg$ bg find / name a.out –print4.Say you have three Process
 P1, P2 and P3
running in background. You want toassign priorities to them, which command is suitable give its syntax?
Ans->
$ nice5.Which command is used to:Fetch names from a file Name.txt sort them and remove any duplicate entries.Ans-> $ sort –u Name.txt6.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)
Ans->1 :w
filename2
:i3: wq4: q!

Activity (67)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Dadaso Kolekar liked this
Lathief Ahmed liked this
Nikunj Gupta liked this
myidkhan liked this
Feroz Khan liked this
Mithilesh Kumar liked this
Mithilesh Kumar liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->