MX on Linux: Difference between revisions

318 bytes added ,  08:49, 7 November 2020
m
m (→‎Running Cumulus: split into service and terminal sub-sections)
Line 381: Line 381:
=== 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 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:
Almost all instructions, given in this article, start with a "sudo", it basically gives administrative rights to whatever follows, and therefore allows a standard Pi user to do tasks that otherwise only work for the root user.  You use it as a prefix to almost every command you type in terminal mode.  There are 3 system commands that in terminal mode will only ever work with this prefix (although if you have installed the version of the Raspberry Pi Operating System that supports a graphical user interface you can also select these actions from a menu):


*'''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 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 poweroff''' = makes pi do a tidy shutdown and turn off its power; used when you will not be using your Pi for a while
*'''sudo reboot''' (or "sudo reboot -verbose" for diagnostic output during shutdown and 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
*'''sudo reboot''' (or "sudo reboot -verbose" for diagnostic output during shutdown and reboot) = makes your Pi close down and then reboot; used when you change settings, and after you install new software, to ensure Pi starts with all applications running using the latest settings and latest already installed software


=== ~ and / ===
=== ~ and / ===
5,838

edits