Skip to content

Instantly share code, notes, and snippets.

@jineshqa
Created March 5, 2019 00:39
Show Gist options
  • Save jineshqa/a612e5fff34a126de49290aa25a84c23 to your computer and use it in GitHub Desktop.
Save jineshqa/a612e5fff34a126de49290aa25a84c23 to your computer and use it in GitHub Desktop.
Screen command usages
# to list the sessions and their status
screen -ls
# to start a session with a given name. The name should be unique
screen -S session_name
# to start a session without going into it
screen -dmS session_name /path/to/script/file.sh
# to terminate a detached session
screen -S session_name -X quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment