5,838
edits
m (→sudo) |
|||
Line 29: | Line 29: | ||
=== sudo === | === sudo === | ||
Almost all instructions here start with a "sudo", it basically gives administrative rights to whatever follows, and therefore allows you to do tasks that | Almost all instructions here start with a "sudo", it basically gives administrative rights to whatever follows, and therefore allows you to do tasks that only work in the root user. You use it as a prefix to almost every command you type in terminal mode. There are 3 system commands that will only work with this prefix (or by using the shutdown options in the main menu - raspberry icon in square): | ||
*'''sudo halt''' = stops any cpu functions, but leaves Pi running; used when you have reached the end of commands you want to do for now | |||
*'''sudo poweroff''' = makes pi do a tidy shutdown and turn off its power; used when you will not be using Pi for a while | |||
*'''sudo reboot''' = makes pi close down and then reboot; used when you change settings, and after you install new software, to ensure Pi starts with all applications | |||
=== ~ and / === | === ~ and / === |
edits