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


Please Help Members By Posting Answers For Below Questions

What is nr in awk command?

595


How do I clear my terminal history?

576


What is the nmap command?

579


Who command in unix?

569


Describe the zip/unzip command using gzip.

606






Explain ‘library functions’ with respect to unix commands?

601


Enlist some filename manipulation commands in unix.

546


What does the “echo” command do?

624


What does this command do,"$more readme.txt“?

685


Which command is used to kill the last background job?

769


Name the general commands in using unix os for a beginner?

621


What does grep v do?

557


Who wrote grep?

577


How do you grep recursively?

553


What does 'mkdir' command do in UNIX?

654