Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
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


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





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
command to:Display text
“Welcome Home”
on your screenRedirect the text
“Welcome Home”
to file called
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,”
 Ans -> $ cat file-1|grep TENDULKAR $ cat file-1|grep tendulkar $ cat file-1|grep TeNdUlKar 
1.Define Process. Which is the command used to find out currently executing Processin UNIX?
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
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?
$ 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
: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

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