Skip to content

Instantly share code, notes, and snippets.

@blackc0mb
Last active May 1, 2021 20:05
Show Gist options
  • Save blackc0mb/ba0f7f79381f1c73d3402c9435469ee5 to your computer and use it in GitHub Desktop.
Save blackc0mb/ba0f7f79381f1c73d3402c9435469ee5 to your computer and use it in GitHub Desktop.
Useful commands to manage Raspberry PI

Useful commands to manage Raspberry PI

Update the system package list

sudo apt update

Upgrade the installed packages

sudo apt full-upgrade

Free up space (downloaded packages)

sudo apt clean
sudo apt-get clean

Check the available space

df -h

Opens the configuration settings menu

raspi-config

Check the status of the wireless connection

ifconfig

Display the hostname of the system

hostname

Reboot immediately

reboot

Opens the text file specified

nano [yourfile]

Install VS Code

sudo apt update
sudo apt install code -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment