Ubuntu detach task from terminal
Here is a little tip for Ubuntu users.
$ yourtask &
If you run a process from a terminal then as soon as you close terminal, the process will close as well.
Do detach a process from terminal execute:
and when process launches, focus back to terminal, press ctrl+z. This will bring you the prompt again where you type:
$ disown
which will do the detaching.
Now you can close the terminal and process will not be killed.
Comments