Live Chat!

don’t terminate even I close the terminal

          0 votos

March 15th, 2007 mysurface Posted in Misc, nohup | Hits: 7932 |

There are many cases where when I run a program from a terminal (gnome-terminal, xterm etc), and I accidentally close the terminal, the program will be terminated as well. This happen even I send the program to background, for example I initiate xmms from gnome-terminal

xmms &

When I close the gnome terminal, xmms is terminated as well. To avoid programs from terminated, use a command call nohup (No hang up!)

nohup xmms

The terminal output will looks like this:

nohup: appending output to `nohup.out'

It will now not hang up when you close your terminal.

One Response to “don’t terminate even I close the terminal”

  1. [...] You now can close your terminal and enjoy your copy and paste. To know what is nohup? check out Don’t terminate even I close the terminal. [...]

Leave a Reply