Today on Tuesday Tips we offer quick tips and hacks for Raspberry Pi users. We know how it feels to be lost when you are trying to figure your way out in a simple yet complicated computer such as the Raspberry Pi, but we are here to help.
Some of these might be old to experienced Linux users, but who knows, you might also learn something new. And if you have any favourite Raspberry Pi tips that you’d like to add, we want to hear them! Please share them in the comments below.
It can be frustrating to type out an entire command only to be told you need to be the superuser to execute it. Type “sudo !!” (pronounced “sudo bang bang”) to execute the previous command as root.
Install scrot by executing
sudo apt-get install scrot
so that you can take screenshots within the graphical desktop environment. After it’s installed, execute the command scrot in a terminal window to save a PNG of the desktop to the working directory. Scrot is also highly configurable; execute “scrot -h” to see all the options available to you.
Use your computer’s internet connection
If you don’t have a convenient ethernet connection nearby or a USB Wi-Fi adapter handy, you can also use your computer’s Wi-Fi internet connection and share it via Ethernet to the Raspberry Pi.
If you have trouble remembering the IP address of your Raspberry Pi when you want to access it over the network, install avahi with the command “sudo apt-get install avahi-daemon” and you’ll be able to use raspberrypi.local instead of the IP address.
If you’re accessing the Raspberry Pi from a Windows machine, you may need to install Bonjour Services on it for this to work.
Jumping to the beginning or end of a command
If you want to jump to the beginning of a command you’ve typed (for instance, if you’ve miskeyed something), type Control-A and to jump to the end of the line, type Control-E.
Hope this helped with those of beginning and the red hat experts learned a thing or two, do stay tuned for more next week on #TuesdayTips.