Skip to content

Instantly share code, notes, and snippets.

@bachkukkik
Last active September 14, 2020 05:53
Show Gist options
  • Save bachkukkik/0b9712c39424845db7d1ee19fe158795 to your computer and use it in GitHub Desktop.
Save bachkukkik/0b9712c39424845db7d1ee19fe158795 to your computer and use it in GitHub Desktop.

Confirm Model / OS

  • [RPi] Confirm Raspberry Pi Model cat /proc/device-tree/model
  • [RPi] Confirm Operating System cat /etc/os-release

Networking commands

  • IP scanner sudo nmap -O -sT 192.168.1.0/24
  • pi network config this link
  • [Ubuntu] wifi listing nmcli d wifi list
  • [Ubuntu] Connect to wifi [sudo] nmcli d wifi connect <my_wifi> password <password>

mount directory over ssh

Common operations

  • find part of string in location grep -R "what" "./where"
  • update alternatives : makes /usr/bin/python, python, /usr/bin/python3 the same sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
@bachkukkik
Copy link
Author

expressvpn on raspbian - user guide

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