Screen : Console multiplexer

      Comments Off on Screen : Console multiplexer

Console multiplexer can still live even if you leave it. It can contain several sessions.

Creation of a named screen

screen -S nameSession

Listing existing screen

screen -ls

To rattach at a screen

screen -r nameSession

To detach a screen

screen -d

To detach a screen from a terminal

screen -d nameSession

Erase a dead screen

screen -wipe

For loging on a screen (with a share of the screen)

screen -x nameSession

Manipulations with Ctrl+a

  • Create a new terminal : Ctrl+a followed by c
  • List differents terminals and select 1 : Ctrl+a followed by “
  • Name the terminals for going to there more easily : Ctrl+a followed by A
  • Reach a terminal with its number : Ctrl+a followed by terminal number
  • Enter in the prompt the number of terminal : Ctrl+a followed by ‘
  • Come back the terminal from where we come : Ctrl+a followed by a
  • For going to the next terminal : Ctrl+a followed by n
  • Pour going to the precedent terminal : Ctrl+a followed by p
  • Resize the window size of its terminal : Ctrl+a followed by F
  • Display help : Ctrl+a followed by ?
  • For switching between different screens : Ctrl+a followed by Space