Skip to content

Instantly share code, notes, and snippets.

@tuliomonteazul
Last active March 15, 2017 20:26
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 tuliomonteazul/7ea85374319a5cc6c2b4e824b1cc49ad to your computer and use it in GitHub Desktop.
Save tuliomonteazul/7ea85374319a5cc6c2b4e824b1cc49ad to your computer and use it in GitHub Desktop.

What is this?

A quick reference for the Linux screen command.

Start a new screen session

screen -S <name>

List running sessions

screen -ls

Attach to a session

Current running session

screen -x

Session with name

screen -r <name>

Commands inside the session

Detach from session

Ctrl a d

Enter copy mode (also used to scroll up the window)

Ctrl a [

References

http://aperiodic.net/screen/quick_reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment