Bg

From LQWiki
Jump to navigation Jump to search

Bg is a command that is used to resume a suspended job in the background. You will be able to use the shell, but any output from the background task will be displayed in the shell. You will not be able to interact with the background task. You can use fg to bring the task back to the foreground where you can interact with it. To put it back in the background, press Ctrl-Z to suspend, then enter bg to resume in the background.