Quickly find suspended shell jobs, inspect their PIDs, and resume or terminate them with job control commands. 12.02.2026 | reading time: 3 min Ever suspended a task with Ctrl-Z and then wondered where it went; this guide shows how to list stopped jobs, see their PIDs, and resume or kill them using standard shell job control. Hands-on: suspend a process Try this sequence in a terminal to create a stopped job and inspect it: ```bash $ sleep 300 ^Z [1]+ Stopped sleep 300 $ jobs [1]+ Stopped sleep 300 $ jobs -l [1]+ 12345 Stopped sleep 300 $ bg %1 [1]+ sleep 300 & $ fg %1 sleep 300 ``` You can now run `kill %1` to terminate the job or `kill -CONT 12345` to continue the process in the foreground. Inspect deeper with ps When you need the OS view, combine jobs with ps; for example `ps -o pid,stat,cmd -p 12345` will show a status containing T for stopped, and `ps aux | awk '$8=="T"'` helps find all stopped processes system-wide. Recovering and detaching jobs To safely keep work running after closing the shell use `bg` to background and `disown` to remove the job from the shell, or start long tasks with `nohup` or systemd services when persistence is required. Common pitfalls to avoid Remember that job numbers like %1 are shell-local and expire when the shell exits; PIDs remain valid at the system level but may be reused, so check `jobs -l` or `ps` before issuing signals. Where this fits in daily work Use job control during interactive sessions, use ps or top to audit server state, and prefer service managers for production daemons; interactively stopped jobs are typically a troubleshooting or development concern. Next steps Mastering job control is a small but powerful piece of shell fluency; practice suspending, backgrounding, and disowning jobs until they become second nature, then explore process supervision with systemd for production setups. Certification and learning If you want structured training, deepen your Linux skills and certification chances with intensive exam preparation like CompTIA Linux+ or LPIC-1 courses; consider bitsandbytes.academy for focused study paths. Join Bits & Bytes Academy First class LINUX exam preparation. processes utilities troubleshooting