Running background jobs
in Linux/UNIX/*nix, you can run jobs from the command line in the background. There are two ways to do this.
First, you can append an ampersand (&) to your command like so:
Second, you can start the job normally, then hit Control + Z. This suspends the job temporarily and gives you a command prompt. Then type bg. This will then restart your job and run it in the background.
Once a job is running in the background you can type jobs on the command line to see the list of jobs that is currently running.
First, you can append an ampersand (&) to your command like so:
> some-command &
Second, you can start the job normally, then hit Control + Z. This suspends the job temporarily and gives you a command prompt. Then type bg. This will then restart your job and run it in the background.
Once a job is running in the background you can type jobs on the command line to see the list of jobs that is currently running.
| Rating: | 100% positive, 1 Vote |
| Categories: | linux UNIX |
| Added: | on Dec 04, 2008 at 10:04 am |
| Added By: | an anonymous user |

