Skip to content

Instantly share code, notes, and snippets.

@shamim71
Created August 5, 2014 15:58
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save shamim71/b96fe6fe8a45f3e8580b to your computer and use it in GitHub Desktop.
Save shamim71/b96fe6fe8a45f3e8580b to your computer and use it in GitHub Desktop.
Linux Screen command for Raspberry PI
1. Download screen if not exist.
$sudo apt-get install screen
2. Starting a new Screen.
$screen bash
3. Detached a terminal session.
CTRL + A release, and then press D
4. List all terminal session
$ screen -list
5. Reconnect screen
$ screen -r
$ screen -r 1245.pts-0.raspberrypi (if more screens)
6. Termination screen.
$ CTRL +D
Reference:
http://raspi.tv/2012/using-screen-with-raspberry-pi-to-avoid-leaving-ssh-sessions-open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment