![]() ![]() Create a script to automate this from your computer The Raspberry Pi will start again as soon as you turn the power supply back on (as with most computers, it’s not possible to do this remotely). Once the green light stops blinking, you can safely disconnect or turn off the power supply. Unprivileged users are not permitted to log in anymore. In all cases, you need the administrator privileges to stop the system, so don’t forget to put the sudo command at the beginning if you aren’t already logged as root.Īlso, once a shutdown is scheduled, non-administrators can’t log in anymore, they will get an error message: Schedule the Raspberry Pi shutdown at a specified time.The basic command to stop your Raspberry Pi will be: This one is more interesting as there are several useful options available. It’s an alias of halt, you can use it if you prefer, but it’s basically the same one: ![]() So, the simple command like this should be enough. There are a few options available, but that are not really useful in our case. Probably the one to remember as it’s the shortest one: Without further ado, here are the three commands you can use to stop a Raspberry Pi : ![]() The 3 commands you can use to stop a Raspberry Pi In this part, I will give you three commands to properly shut down the Raspberry Pi, and also a few tips to go further. It's a free PDF guide containing every Raspberry Pi Linux command you should know! You can follow the next part to stop it from there.Īre you a bit lost in the Linux command line? Check this article first for the most important commands to remember and a free downloadable cheat sheet so you can have the commands at your fingertips.ĭownload Your Essential Linux Commands Guide! That’s it, you are now connected to your Raspberry Pi. If you don’t remember it, check this article to recover your password. (It was “raspberry” by default previously, it’s now a custom one created by you).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |