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
What is grep short for?
Explain mount and unmount command.
What are the commands in UNIX to list the files in a Directory?
How do I open a port?
What does the command '$ls | wc –l > file1' do?
What does grep v grep do?
Which command is used to create a directory?
What does the md command do?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Name the various commands that are used for the user information in unix.
What is rmdir command?
Can you explain a little bit about command substitution?
What does #!/ Bin sh do?
What is the command to find maximum memory taking process on the server?
How do I use grep to search for a file?