The ‘screen’ command allows you to start a session on a remote computer and have it persist even if you log out. This is very useful if you’re running a long program so that you don’t have to stay logged in for that full duration.
To attach to an existing screen, do ‘screen -r’. This will return you to an existing session.
While you’re attached to a screen, all screen commands begin with ‘Ctrl-a’. To detach a session, run ‘Ctrl-a d’.