Skip to content

Instantly share code, notes, and snippets.

@robotamer
Forked from hofmannsven/README.md
Last active April 15, 2019 17:28
Show Gist options
  • Select an option

  • Save robotamer/2c246d511e6d59c7bd55d6948db5a6ef to your computer and use it in GitHub Desktop.

Select an option

Save robotamer/2c246d511e6d59c7bd55d6948db5a6ef to your computer and use it in GitHub Desktop.
Raspberry Pi Cheatsheet

Raspberry Pi

Related tutorial: http://raspberrypiguide.de/

Command Line Cheatsheet: https://gist.github.com/hofmannsven/8392477

Setup

Find all available devices arp -a

SSH

Connect to device via SSH + Name: ssh pi@rasperrypi

Connect to device via SSH + IP: ssh [email protected]

System

Check system info (e.g. IP): ifconfig

Check for all connected USB devices: lsusb

Switch to config: sudo raspi-config

Switch to GUI: startx

Reboot system: reboot / sudo reboot

Shutdown: sudo shutdown -h now

GUI Keyboard Shortcuts

System menu: ctrl + esc

Open programm menu: alt + space

Switch programms: alt + tab

Access dropdown: alt + [letter-with-underline] e.g. alt + f

Close window: ctrl + q

Back to CLI: ctrl + alt + backspace

Remote Control

Related tutorial: http://cd64.de/vnc

Install VNC: sudo apt-get install tightvncserver

Start VNC: tightvncserver

Ethernet Port: 5900

WLAN Port: 5901

Real VNC App for OS X: http://www.realvnc.com/

VNC App for iOS: https://itunes.apple.com/gb/app/mocha-vnc-lite/id284984448

File Sharing

Related tutorial: http://cd64.de/filesharing

Install file sharing: sudo apt-get install netatalk

Connect to Server (via ⌘K): afp://192.168.64.xxx

WLAN

Related tutorial: http://cd64.de/wlan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment