Hands-on task
This task is step 6 of the course “Processes and signals”
Background process with nohup
Launch sleep 300 in the background so that it survives leaving the session (via nohup), and write its PID to /root/bg.pid.
What you'll practise:
- nohup
- background process
- $!
- SIGHUP
- process management