Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

This question already has an answer here:

When I close a terminal it closes all programs opened from it. In other Linux packages such as scientific linux using an ampersand prevents this, e.g., emacs file.txt & However, this is not the case with ubuntu 10.04. Is there away to stop the applications like emacs being closed on exit of the terminal? I have tried nohup but this dosen't work.

share|improve this question

marked as duplicate by Luis Alvarado Mar 4 '13 at 23:00

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.

up vote 1 down vote accepted

You can use disown. For example, emacs file.txt & disown After that, exiting terminal won't exit the program started from it.

share|improve this answer
Thanks 'disown' works well. I will be typing that after most things. – libby jones Nov 1 '12 at 18:15

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