Screen

Show all commands

$ Ctrl-A ?

Detach screen

$ Ctrl-A d

Re-attach screen

$ screen -r

$ screen -ls                # List all screen sessions

$ screen -r <session id>

Logging actions

$ Ctrl-A H                  # Will log to file in ~/

or

$ screen -L

Lock screen

$ Ctrl-A x

Leave Screen

$ Ctrl-A d                  # Detach
$ Ctrl-A K                  # Kill

References

  1. 10 Screen Command Examples.