3

when typing pgrep wget, it show process id 10144

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

kopeklan
  • 159
  • 2
  • 2
  • 6

2 Answers2

5

Use the -f and -l parameter:

pgrep -fl wget
wag
  • 406
  • 3
  • 6
0

use the ps command:

ps ax | grep wget | grep -v grep
Kevin M
  • 2,302
  • 1
  • 16
  • 21