Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

1 Answer 1

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.