2009/2/11 Jean Christophe Andr? <jean-christophe.andre at auf.org>:
> 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
I have been using this for a while, but not for remote server
management (I don't have a server to begin with :P), it is just that I
am too lazy to use the mouse :P (and I need some music while using CLI
- installing arch linux)
> 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
^x where x = 0,1,2,3,... will switch to screen (window?) 0,1,2,3....
Also, I don't know about Gnome terminal emulator, but with xfce
terminal emulator, I have to set backspace character to Alt+H (is that
right?) to make it to work. :)
--
:(){ :|:& };: