Command Line Commands
Command | Description |
---|---|
screen | Start screen |
screen --help | Show screen help |
screen /dev/ttyUSB0 115200 8N1 | Connect to a serial port at a baud rate using 8N1 |
screen -ls | List active screen sessions |
screen -r | Reattach to the last detached screen process. |
screen -r <session_id> | Reattach to a detached screen process. |
screen -rd <session_id> | Detach current session and reattach |
screen -t <title> | Set screen window title |
screen -x <session_id> | Attach to a currently connected session. Multi-display mode. |
Key Commands
Command | Description |
---|---|
CTR-a d | Disconnect from current session |
CTR-a ESC | Enable screen scrolling. Hit ESC to exit mode. |