User Tools

Site Tools


ubuntu:screen:cheatsheet

This is an old revision of the document!


Ubuntu - Screen - Cheatsheet

CTRL+a cCreate a new window (with shell).
CTRL+a “List all windows.
CTRL+a 0Switch to window 0 (by number).
CTRL+a ARename the current window.
CTRL+a SSplit current region horizontally into two regions.
CTRL+a |Split current region vertically into two regions.
CTRL+a tabSwitch the input focus to the next region.
CTRL+a Ctrl+aToggle between the current and previous windows.
CTRL+a QClose all regions but the current one.
CTRL+a XClose the current region.

Reattach to a Screen session

screen -r

NOTE: This will resume the screen session.


Reattach to a Screen session, when multiple screen sessions are running

Identify the Screen IDs that are running

screen -ls

returns:

There are screens on:
        1234.tty1.Chia-CLI      (06/27/21 07:54:43)     (Attached)
        1222.tty1.Chia-CLI      (06/27/21 07:51:22)     (Attached)
        598.tty1.Chia-CLI       (06/27/21 07:36:27)     (Attached)
3 Sockets in /run/screen/S-root.

Reattach to a Screen session

screen -r 1234

NOTE: This will resume the specific screen session.

ubuntu/screen/cheatsheet.1624463816.txt.gz · Last modified: 2021/06/23 15:56 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki