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?
Answer Posted / 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 |
Post New Answer View All Answers
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Who invented grep?
Why is grep called grep?
Which command is used to find whether the system is 32 bit or 64 bit?
What is the use of sed command in unix?
What is command statement?
How do I delete files from command prompt?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Describe the usage and functionality of the command rm –r * in unix?
What is the use of awk command in unix?
Is grep faster than awk?
what is the advaantage of each user having its own copy of the shell?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How can we use grep command in unix?
Can you enlist some commonly used network commands?