when typing pgrep wget, it show process id 10144
pgrep wget
10144
but how to know what is the details of this process id
Use the -f and -l parameter:
-f
-l
pgrep -fl wget
use the ps command:
ps
ps ax | grep wget | grep -v grep