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! ;-)

-- 
Jean Christophe "????" ANDR?   ? ? ?   Responsable technique r?gional
Bureau Asie-Pacifique (BAP)    ? ? ?   http://www.asie-pacifique.auf.org/
Agence universitaire de la Francophonie (AuF)  ? ? ?  http://www.auf.org/
Adresse postale : AUF, 21 L? Th?nh T?ng, T.T. Ho?n Ki?m, H? N?i, Vi?t Nam
T?l. : +84 4 9331108  ?  Fax : +84 4 8247383  ?  Cellul. : +84 91 3248747
? Note personnelle: merci d'?viter de m'envoyer des fichiers PowerPoint ?
? ou Word, cf http://www.gnu.org/philosophy/no-word-attachments.fr.html ?


-------------- section suivante --------------
Une pi?ce jointe non texte a ?t? nettoy?e...
Nom: signature.asc
Type: application/pgp-signature
Taille: 260 octets
Desc: OpenPGP digital signature
Url: 
http://lists.hanoilug.org/pipermail/hanoilug/attachments/20090211/063696e4/attachment.pgp
 

Trả lời cho