Last active
August 29, 2015 14:23
-
-
Save arpitr/92cb564944e3115161f8 to your computer and use it in GitHub Desktop.
Screen Handy Commands
This file contains 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
#Screen | |
#Run a task and detach | |
screen -S <Name Your Screen> -d -m <yourcommand> | |
#List screens | |
screen -ls | |
#Attach to a screen | |
screen -r <initials of screen id> | |
#Dettach for screen | |
Ctrl A + Ctrl D | |
#Terminate a screen | |
#1. Attach to screen by screen -r <initials of screen id> | |
#2. Ctrl C | |
#Terminate Screen | |
screen -S <initials if screen id> -X quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment