Background

From LQWiki
Jump to navigation Jump to search

A background process is a process that is running with no connection to a user's terminal (keyboard and text screen).

With the Linux shell bash you can start a program (firefox in this example) as a background process like this:

firefox &

You can send a task to background by stopping it (using CTRL_Z) and calling

bg

You can see what jobs are running at the moment using the command

jobs