# open screen session
screen
# list screen sessions
screen -ls
# reattach to screen session
screen -r <name of screen session>
# attach to a not detached session
screen -x <name of screen session>
# detach from unattached session
screen -d
Note: ^A = Ctrl-a (Press the "a" key while holding down Control key)
detach from screen session attached to
^A d
# open another session
^A c
list the screen windows
^A w
# print screen and save a hardcopy
^A h
# go to next window
^A n
# go to previous window
^A p
# lock screen
^A x