| ssh (ip) |
Used to remotely connect to a device with a known ip |
ssh pi@192.168.1.1 |
| cd (path) |
Changes the current directory |
cd /home/pi/Downloads |
| cd ../ |
Moves to the parent folder |
|
| cd - |
Return to the last cd (helpful for switching between two paths) |
|
| ls |
Lists all files in the current directory |
|
| nano |
Text editor for various files |
nano main.py |
| clear |
Clears all text from the shell |
|
| rm |
Removes a file |
rm delete_me.txt |
| rm -r |
Removes a folder with everything inside of it |
rm home/pi/delete_me |
| sudo -s |
Elevates the terminal with administrator privilege |
|
| scp (file) (directory) |
Copies files to another path or remote directory |
|
| nohup (command) (args) |
Continues the command/executable even if ssh connection is lost |
|