Hands-on task
This task is step 8 of the course “Linux: everyday tasks”
Find a PID by name
A background process tail (tail -f) is running in the system. Find out its process identifier (PID) and write just the number to /root/pid.txt.
What you'll practise:
- pgrep
- processes
- pid
- exact name match