Skip to content

Instantly share code, notes, and snippets.

@bot11
Created April 16, 2015 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bot11/e0db81ef38c441cb9bd3 to your computer and use it in GitHub Desktop.
Save bot11/e0db81ef38c441cb9bd3 to your computer and use it in GitHub Desktop.
screen commands
# list all screens
screen -ls
# Setup a shared screen
screen -d -m -S <sessionname>
#Attach to the screen using.
#Multiple users can attach to the same screen using the below command and share.
screen -x <sessionname>
#Kill a screen session
#To cleanly shutdown a screen session, you can attach to it and then press the Ctrl-a k command sequence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment