Run a Linux command in background

Posted by Darwin Biler on December 8, 2012

To run a linux command in the background, put an ampersand & after the command. The example below will run a new terminal window on background.

darwin:~> xterm &
[1] 26558

Then to see a list of all process running, you can use the jobs command.

darwin:~> jobs
[1]+  Running                 xterm &

Did you find this useful?

I'm always happy to help! You can show your support and appreciation by Buying me a coffee (I love coffee!).