Skip to content

Instantly share code, notes, and snippets.

@LFSaw
Last active August 29, 2015 14:03
Show Gist options
  • Select an option

  • Save LFSaw/c9260b44d9b70ee2a405 to your computer and use it in GitHub Desktop.

Select an option

Save LFSaw/c9260b44d9b70ee2a405 to your computer and use it in GitHub Desktop.
screen commands for remote controlling processes

screen commands for remote control

When working remotely (e.g. via ssh on an embedded platform), it often is nice to completely log off the system while a process is still running. E.g. when issuing a long-term process like make or running

To create a named screen session, type

$ screen -dR <mySessionName>

start a command in a named session

$ screen -t '<mySessionName>' <cmd>

within a screen session type

<ctrl>-a d

to detach. To list all active screen sessions, type

$ screen -ls

To go to a names screen session, type

$ screen -dR <mySessionName>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment