Screen Linux Commands

List screen sesssions: 
screen -ls
                There are screens on:
                        25247.pts-0.dbcind01   (Detached)

To detach:          
screen -d 25247.pts-0.dbcind01
Ctrl a A

To re-attach:     
screen -r 25247.pts-0.dbcind01

To attach a client / already attached screen
screen -x 25247.pts-0.dbcind01


To kill a screen session
screen -r 25247.pts-0.dbcind01
Ctrl + a  :quit

To start and name the screen
screen -S Ashley

To detach and logout the screen
Ctrl+a then DD


Multiple sessions on the same window
screen top
Ctrl+a  then c     Create a new window
Ctrl+a  then S     Split screen
Ctrl+a  then tab Switch split screens
Ctrl+a  then n     Next window
Ctrl+a then p      Previous window

No comments:

Post a Comment