💾 Archived View for eoghan.speleo.dev › posts › 2019 › screen-cheat.gmi captured on 2023-01-29 at 15:46:30. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
Date: 2019-04-08
Last Updated: 2019-04-08
Install Screen: `brew install screen`
Enter a new Screen Session: `screen` or `screen -S <name>`
Detach from current screen session: `Ctrl + a + d`
List screen sessions: `screen -ls`
List the processes: `ps -e | grep PID_OF_SCREEN_SESSION`
Reattach to a screen session: `screen -r PID_OF_SCREEN_SESSION`
Execute a command in a screen session: `screen -X -S PID_OF_SCREEN_SESSION <cmd>`