Contents / Previous / Next


nohup, screen

nohup: Runs a command immune to hangups,
with output to a non-terminal, so that the command can
continue running in the background after you log out.

       nohup COMMAND [ARG]...

screen: Creates a single window with a shell in it
(or the specified command) on a given host machine.
You may then detach and re-attach from the started shell
(and the processes running within the shell).
When you are detached the output that goes to the shell is
stored in a buffer and you can look at it when you reattach.
In this way you can "screen" a remote process.


       screen [ -options ] [ cmd [ args ] ]
       screen -r [[pid.]tty[.host]]
       screen -r sessionowner/[[pid.]tty[.host]]