![]() ![]() To do that, use the first command, and it will become executable. That’s because the script’s property has not been changed to executable. Sometimes you download a script file (.sh) and want to run it on your Raspberry Pi, but all you get from the Terminal is the “Permission denied” output. This way, you can save a lot of time instead of hunting down a specific file manually. It lets you quickly look for a file within the whole system and shows where the file is located. I would say find is one of the best commands for Raspberry Pi. Just remember, Raspberry Pi follows the 24-hour clock. Just replace now with a specific time such as 02:15, and the Raspberry Pi will shut down at 2:15 am. In fact, you can schedule the shutdown too. Similarly, you can run the above command to turn off your Raspberry Pi. Run the command in the Terminal, and your Raspberry Pi will automatically shut down and turn on itself.Ħ. Keep in mind that Nano is a keyboard-based editor, and you can’t use your mouse.Īs the command suggests, it lets you restart your Raspberry Pi within seconds. Whenever you have to modify the repository or add a new client to /etc/hosts, you can execute this command to open the file with Nano editor. This may seem like a basic Raspberry Pi command, but believe me, this is the command you will be using the most while dealing with system files. Open and Edit a Text File sudo nano filename I think ifconfig is one of the best Raspberry Pi commands, and you should remember it to find all the network information quickly.Ĥ. Simply type the above command in the Terminal to find information about the Ethernet, Wi-Fi details such as IP address, MAC address, and more. Since people use Raspberry Pi for mostly networking things, you must know all the network configuration details. I would say, if you want to deal with system settings, run this command in the Terminal and customize most of the preferences to your liking.ģ. You can enable the GUI interface, turn on the VNC server to remotely access Raspberry Pi, change the resolution, enable SSH, and lots more. sudo raspi-config lets you access all the key settings and preferences of this single board computer. Access Raspberry Pi Configuration sudo raspi-configĪfter the update commands, this is the most useful Raspberry Pi command. So if you have set up a Raspberry Pi for the first time, make sure to run these commands one by one to run the latest version of the software.Ģ. Not just that, it also updates existing packages, dependencies, and repositories. ![]() They allow you to update the Raspberry OS, both the desktop GUI and Terminal-based interface, to the latest build. If you are new to Raspberry Pi, you must know these two commands. Start GUI from Command Line on Raspberry Piġ. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |