Created
March 5, 2019 00:39
-
-
Save jineshqa/a612e5fff34a126de49290aa25a84c23 to your computer and use it in GitHub Desktop.
Screen command usages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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