The Most Common Raspberry Pi Commands (And What They Do)
Learning how to navigate your Raspberry Pi can be tricky—but it doesn't have to be! We've comprised a list of the most common Raspberry Pi commands.
Not sure where to start? These are some of the most useful commands you can find. Create new directories, update your OS, or even schedule a time for your Pi to shutdown.
Log into your Pi via SSH
First things first, you'll need to log into your Pi. These commands are used when accessing your Pi with a command-line interface. Visit our guide on how to log into your Raspberry Pi using SSH.
Understand the sudo
command
sudo
The Raspberry Pi runs on a Linux-based operating system called Raspberry Pi OS. When using Linux commands, it's important to familiarize yourself with the term sudo
. The sudo
prefix allows you to run specific commands as administrator. Certain commands can cause a lot of hassle if you're not careful. It's important to be diligent with the use of sudo
to prevent any accidents or mishaps.
It's possible to enable a permanent superuser mode. This allows you to enter commands without the sudo
prefix. However, we strongly advise against this setting to be safe. We've already added the sudo
prefix to commands that require administrative access, so you don't have to worry!
Raspberry Pi | × | 1 |
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.