Changes
Jump to navigation
Jump to search
→Screen
to get the screen help. The command 'exit' will exit you from (your last) screen and dump you back to the original shell. Crucially, screen's can be 'detached' and left running in the background, and if your SSH (putty) connection drops for some reason but if you are running your commands within a screen, they will stay running and can be picked up again later on. Screens can also be shared across multiple users.
Useful commands are:
'''Within Screen:'''
C-a c Create a new screen
C-a 0 Move to screen 0
C-a 1 Move to screen 1 (and so on)
C-a n Move to next screen
C-a d Detach screen from the SSH session and return to the shell
exit Terminate screen and return to the shell
'''From the shell:'''
screen -ls List all screen sessions available
screen -r session_name Reattach to a screen session
See also: