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.
Asked
Active
Viewed 158 times
1 Answers
1
You can use disown
. For example, emacs file.txt & disown
After that, exiting terminal won't exit the program started from it.

Anwar
- 76,649
-
Thanks 'disown' works well. I will be typing that after most things. – libby jones Nov 01 '12 at 18:15