running a lengthy app in a terminal window
kentborg at borg.org
Wed Mar 26 21:45:47 UTC 2008
Angelo Chen wrote:
> often I have to ssh a ubuntu server to run a command line app, it usually
> takes a long time, is there a way to do following:
> 1) ssh server
> 2) run the app
> 3) close the ssh connection
> 4) later, I can ssh again to see if the app still running? possible? tips?
Login, run "screen", and you land at bash.
Later you might be disconnected, or you type the right escape sequence
to disconnect (by default it is ctrl-a then "d") and logout.
Login again, "screen -rx", and you will be back where you started.
There are a lot more features, but that is the minimum.
More information about the ubuntu-users