This question already has an answer here:

If i wanted to run an application from the terminal (linux, ubuntu), how do I do so so that the terminal is still usable or that so if I close the terminal, the application still runs.

marked as duplicate by jasonwryan, Braiam, Gilles linux May 3 '15 at 21:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


If you just want to use the terminal interactively again, run the command in the background by appending & after the command:

some_command &

If you want the application to continue functioning after closing the terminal as well, use nohup:

nohup some_command &

All STDOUT and STDERR will be redirected to the file $PWD/nohup.out.

Or disown:

some_command & disown

Both nohup and disown will make some_command immune to SIGHUP.

Check man nohup and help disown to get more idea on these.

  • I never knew about 'help' thanks. BTW, 'help' is built into bash to provide help on bash inbuilt commands. – philcolbourn Oct 14 '18 at 2:44
  • Wish these worked from the menu... – Andrew Apr 27 at 23:49

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