Last active
August 14, 2024 20:22
-
-
Save danhodge/15bbc2c33a0a5ee8f05c73710ea1d1bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Basic Usage | |
# 1. SSH into remote host | |
# 2. $ screen | |
# 3. run commands | |
# 4. C-a C-d (detach) | |
# Write stdout to a logfile | |
# screen -L | |
# Attach to the existing session | |
# screen -d -r | |
# Attach to an existing session by PID | |
# screen -d -r <pid> | |
# Show sessions | |
# screen -list | |
# Scroll up/down | |
# C-a ESC, then use arrows/pg up/pg down to navigate (ESC again to exit) | |
# Terminate session | |
# C-a :quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment