Suppose 1000 processes are running on the system out of those
if you have to show only certain process ids which command
will you use?
Answers were Sorted based on User's Feedback
Answer / c sivakumar. kumarsiva46@yaho
pgrep -fl <scriptname> This command will show respective
process alone.
Example:-
ready> pgrep -fl genericShip.pl
(output following below)
11607 /usr/local/bin/perl /forms1/prodenv/genericShip.pl
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / aseem
It is up to you, how you want. For example suppose you want
to display a range like PID from 1500 to 2000 then
ps -ef | grep '[1500 - 2000]'
| Is This Answer Correct ? | 0 Yes | 4 No |
What is the pipe command?
can we use cat command as an editor ..???
How do I open a port?
If we want to see first 35 lines of a file which command we have to use?
What is the basic difference between unix and windows operating systems?
43 Answers Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,
Which command is used to create a directory?
How do you grep a case insensitive?
What does the “echo” command do?
what does a process mean?
What does the command ' $who | sort –logfile > newfile' do?
How does one process we can start an executable file? How to get the PID process, which we started?
Which Command is Used for temprary switch User?