Skip to content

GNU screen

Shintaro Katayama edited this page Jun 16, 2020 · 2 revisions
  1. At first, run the command below to enter a detachable terminal.
screen
  1. When you want to disconnect the terminal temporary, type Ctrl-a then d to detach. Processes in the detachable terminal will be kept even if you log-out.

  2. When you want to connect the terminal again, run the command below to reconnect the detachable terminal.

screen -r
  1. Repeat 2 and 3 (until the system reboots or exiting from the detachable terminal).

NOTE: If you prefer to use emacs, you should put .screenrc file at your home directory with the text below. Then Ctrl-a above switches to Ctrl-z

escape ^z^z

... See also a tutorial to learn more functions of GNU screen.

Clone this wiki locally