The Raspberry Pi OS, Raspbian, uses CLI as its primary user interface (which is common for Linux-based operating systems). You can use a secure shell connection to access the command line.
Tab ↹key autocompletes the command or its argument. This is known as "tab completion".
Show the contents of the current directory:
Change current (working) directory:
Go one directory level up:
Print path to the current directory:
Print contents of the
file.py as a Python script:
Reboot Raspberry Pi:
You can terminate currently running (foreground) program by pressing
Read more about the Linux command line in the Raspberry Pi documentation: https://www.raspberrypi.org/documentation/linux/usage/commands.md.
You can use nano to edit files on the Raspberry Pi. It is one of the more user-friendly console-based text editor.
Use the following command to edit or create a file:
- Edit the file.
Enterto save your file and exit.
cloverservice if you've changed .launch files:
sudo systemctl restart clover
You may also use other editors like vim if you prefer.
For resetting all the changes in Clover package related files (
launch-files), use git:
cd ~/catkin_ws/src/clover git checkout . sudo systemctl restart clover