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
Why is it called a shebang?
What is the difference between cat and more command?
How do I open a port?
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)?
Can you explain a little bit about command substitution?
What is command statement?
What are the dos commands?
Is it inbetween or in between?
What is a bash command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the first character of the output in ls l command?
Which command can you use to find the currently running process in unix server?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is $0 bash?