Hands-on task
/proc: a process's command line
report-worker is running on the system, and nobody remembers which arguments it was started with. Read its command line from /proc/PID/cmdline and write it to /root/cmd.txt with each element on its own line — exactly as the kernel sees them, starting with the program itself. Note: one of the arguments contains a space.
- /proc
- cmdline
- processes
- tr
- null byte