Tutorials, Guides, Tips, and Tricks from Everyday Experiences

This is one of those commands that hit me as “Whoa! How did I miss that?” — the jobs command. It simply lists the jobs currently running on the system. Unlike ps, it only lists what’s running in the foreground and the background. So, say you stop a process with ctrl+z and you want to later kill it, you can use the jobs command to quickly find it and then kill it off. For example: