Hands-on task
This task is step 1 of the course “Processes and signals”
pgrep: PID by name
A process sleep 12345 is running. Find its PID and write it to /root/pid.txt.
What you'll practise:
- pgrep
- process search
- pid
- command line