Skip to content

Instantly share code, notes, and snippets.

@arcaduf
Last active August 9, 2018 12:34
Show Gist options
  • Save arcaduf/25b936f0d570cfb0d5a4ee7b8fe4c996 to your computer and use it in GitHub Desktop.
Save arcaduf/25b936f0d570cfb0d5a4ee7b8fe4c996 to your computer and use it in GitHub Desktop.
Work with screen sessions
Start a screen session:
screen -S "vgg-regression"
To detach a screen session:
Ctrl-a d
To reattach the only screen session
Ctrl-a r
To reattach a session of given PID
screen -r <session pid>
Check what screen session you have active
screen -ls
Kill a screen session
screen -X -S <session name> kill
Create a screen session shared with another user
screen -S shared
Ctrl-a --> :multiuser on
Ctrl-a --> :acladd arcaduf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment