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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
what do you understand by 'building block primitive'?
Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?
What command will bring user back to their home directory in UNIX?
How to see unused port number in Solaris?
what is the use of wild cards?
What does grep v grep do?
What is the command to find maximum memory taking process on the server?
What are some command words?
How do you remove a crontab file?
what is the difference between pipe(|) and tee command..
Enumerate some of the most commonly used network commands in unix?
hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command