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 are wild cards?
In Unix file permissions what does the second field denotes?
how to check a file system type
What is updatedb?
What is grep in bash?
How do you repeat a command in terminal?
What is the use of the command 'ls -x chapter[1-5]' ?
What is the command to find maximum memory taking process on the server?
what is shell?
what are the different commands used to view the contents of a file?
what will this do $cat > file.c ?(file.c is a file in current directory)
Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.