-
Notifications
You must be signed in to change notification settings - Fork 6
GNU screen
Shintaro Katayama edited this page Jun 16, 2020
·
2 revisions
- At first, run the command below to enter a detachable terminal.
screen
-
When you want to disconnect the terminal temporary, type
Ctrl-athendto detach. Processes in the detachable terminal will be kept even if you log-out. -
When you want to connect the terminal again, run the command below to reconnect the detachable terminal.
screen -r
- 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.