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 / linuxdemon

ps -ef | grep pid

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does cp command overwrite files?

615


What are the differences among a system call, a library function, and a unix command?

565


What does the command ' $who | sort –logfile > newfile' do?

761


What command will change your prompt to myprompt?

696


What is unix command?

579






What command is used to switching between users in unix?

556


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

685


Who invented grep?

649


Write a command that will display files in the current directory, in a colored, long format.

677


How can you see the command line history?

580


Which command is used to kill the last background job?

769


What is command substitution?

617


How do I use nslookup?

568


What are filter commands in unix?

549


What is the use of finger command?

595