Running jobs in the background with bg
If you're running a job that doesn't require input from you, consider running it in the background using bg (Code Listing 9.6). In doing so, you can keep the program running while working on other UNIX activities at the same time.
To run jobs in the background with bg:
1. | jobs |
2. | bg 2 |
Tip
If you want to put the most recently suspended job into the background, just type bg (without the number) at the prompt.
Tip
You can also put jobs directly into the background without first suspending them. Just ...
Get Unix: Visual QuickStart Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.