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 / 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 |
Post New Answer View All Answers
Explain mount and unmount command.
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Which unix command lists files/folders in alphabetical order?
What does grep v grep do?
Why is shebang used?
What do chmod, chown, chgrp commands do?
What is grep and how do you use it?
What does the command '$ls | wc –l > file1' do?
Does cp command overwrite files?
What is the use of cut command in unix?
Explain ‘library functions’ with respect to unix commands?
What is the use of tee command?
How do I search a whole word in vim?
What does find command return in unix?
What do chmod command do?