Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I open an application from the command line, say Firefox, the application runs as long as the terminal stays open. Closing the terminal's tab will close the application.

Is there a way to open an application from the terminal such that the application will stay open even after closing the terminal?

share|improve this question
up vote 3 down vote accepted

You can open in the background with the addition of an &; disown:

$ firefox &; disown

(Thanks for the correction, I missed the zsh part)

share|improve this answer
This is a partial solution. The application will run in the background, yet you won't be able to close the terminal session - zsh: you have running jobs. @nerdwaller – John May 18 '13 at 13:15
make that firefox &; disown, and it will do what they want – demure May 18 '13 at 13:16
As you are using zsh, benefit from its elegance ;)and just use firefox &! – mpy May 20 '13 at 16:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.