Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: running a lengthy app in a terminal window

Kent Borg

2008-03-26

Replies:

Author LoginPost Reply
Angelo Chen wrote:
> Hi,
>
> 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?
> Thanks.
>
> Angelo
>  
Install "screen".

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.

-kb

--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.