screen

screen is a terminal multiplexer. It is often used for long running commands on remote host machines to which one might want to attach later or from a different client machine.

Working with screen

Start a screen session with screen or screen <command>.

To list all running screen sessions, run screen -ls.

To detach from an active screen session, hit Ctrl + a + d.

To resume a detached session, run screen -r <session_id>.

More DEFAULT KEY BINDINGS can be found on the screen manpage.