Background Jobs: &, jobs, fg and bg

An & at the end of a command runs it in the background and gives you the prompt back; jobs lists what's running, Ctrl+Z pauses the job in front, fg and bg bring a job back or let it carry on behind you, and nohup keeps a job running after the terminal closes.

Updated

Cheat sheet for the lesson Background Jobs: &, jobs, fg and bg: An & at the end of a command runs it in the background and gives you the prompt back; jobs lists what's running, Ctrl+Z pauses the job in front, fg and bg bring a job back or let it carry on behind you, and nohup keeps a job running…
Category
Bash
Level
Journeyman
Tags
background-job, job-control, linux, nohup, unix