Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.