3

when typing pgrep wget, it show process id 10144

but how to know what is the details of this process id

  • What details do you want to know ? – Iain Dec 19 '10 at 12:20
  • All I want is: what is the command for the id. because I use wget frequently, sometime I forgot an id is belong to which command – kopeklan Dec 19 '10 at 12:25
5

Use the -f and -l parameter:

pgrep -fl wget
0

use the ps command:

ps ax | grep wget | grep -v grep

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.