On Tue, Feb 10, 2009 at 2:53 PM, Jean Christophe Andr? <
jean-christophe.andre at auf.org> wrote:

>        Hi everybody!
>
> Since some of you are managing servers remotely, I thought it could
> be useful to introduce a very useful hacker tool specifically for
> that usage: *screen*
>
> This tool allows you to create a session independent from your current
> connexion and thus allowing to not suffer from network interruption.
>
> It also allows you to start working from one place (let's say at office)
> and continue from one another (let's say at home).
>
> And finally, it allows you to get multiple shells through one single
> connexion, which can be very useful if you need to run multiple
> processes in parallel, eg wget/lftp/rsync downloads.
>
> Here are a few hints to let you start quickly:
>  screen        # will start a screen session and give you a shell
>  ctrl+a ctrl+d # will detach from the screen current session
>  screen -ls    # list all screen sessions
>  screen -d     # will remotely detach a session (in case you forgot)
>  screen -r     # will re-attach to the last detached screen session
>
> And some others also useful:
>  ctrl+a ctrl+c # create a new window (shell)
>  ctrl+a space  # switch to the next window (use multiple times to cycle)
>  ctrl+a ctrl+w # display a list of all windows
>  ctrl+a A      # give a name to the current window
>  ctrl+a a      # send a real ctrl+a to the running process
>
> I hope it will be useful to you, and especially for managing virror! ;-)
>

Screen is a sweet tool, I've been using it for years and it is particularly
useful to learn stuff from more experienced people.

I even taught my kids on how to use it on the home server



-- 
David Tremblay

IT analyst
mob: 418-208-3631
jabber: ict4ngo
skype : ict4ngo

Blog : http://blog.ngowiki.net
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: 
http://lists.hanoilug.org/pipermail/hanoilug/attachments/20090210/64f05376/attachment.htm
 

Trả lời cho