Linux

screen

SafeDetachable terminal

screen -S <name> / screen -r

Sessions survive SSH drops. Detach with Ctrl+a d, reattach with -r. Insurance for long jobs.

Examples

  • screen -rReattach a session

Syntax

screen [-S name] [-r] [-ls]

Before you run it

Don't leave stale sessions.

Related commands

  • tmuxTerminal multiplexer
  • nohupKeep running after logout

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store