Writing shell scripts leaves a lot of room to make mistakes, in ways that will cause your scripts to break on certain input, or (if some input is untrusted) open up security vulnerabilities. Here are some tips on how to make your shell scripts safer.
Source: Writing Safe Shell Scripts (MIT Student Information Processing Board)
GNOME provides a built-in screen recorder that you can use to quickly record your desktop session. Here’s how to use it.
Source: Record Ubuntu Desktop With the Hidden GNOME Screen Recorder (It’s FOSS)
A reminder for the new year: You can use these muted strings to force Twitter to be better.
Source: How to Take Your Twitter Feed Back From the Algorithm – VICE
When it comes to locating files or directories on your system, the find command on Linux is unparalleled. It’s simple to use, yet has a lot of different options that allow you to fine-tune your search for files.
Read on to see examples of how you can wield this command to find anything on your system. Every file is only a few keystrokes away once you know how to use the find command in Linux.
Source: Linux find command tutorial (with examples) – Like Geeks
In this tutorial, we will cover the cURL command in Linux. Follow along as we guide you through the functions of this powerful utility with examples to help you understand everything it’s capable of.
The cURL command is used to download or upload data to a server, using one of its 20+ supported protocols. This data could be a file, email message, or web page.
Source: 15+ examples for Linux cURL command – Like Geeks
This is a case where a blog post is kind of mis-titled, and suggests that the article has more narrow application than it really does. The original title suggests it only applies to Raspberry Pi users, but if you actually read the article you find that the method shown should be equally applicable to any Linux-based distribution running Kodi, or at least to those Linux distros that are based on Debian (Debian, Raspbian, Ubuntu, Linux Mint, Elementary OS, Zorin OS, and many more). The same method would probably work on non-Debian-based distros as well, if you can get the required dependencies using their package managers, and if Kodi will run on them. I understand that it was published in a blog intended for Raspberry Pi users, so that’s probably why they tried to make it seem only relevant to the Raspberry Pi, but if you are running Kodi on some other Linux distro and want to view your Netflix content, you might try giving the method shown in this article a try:
How to Run Netflix on the Raspberry Pi – Pi My Life Up
Thanks to the inexpensive Raspberry Pi Zero, Internet of Things (IoT) projects will continue to grow. One disadvantage which the Zero (not W) and A+ models have is the lack of Ethernet connectivity. That would not be a problem, if not just a single (micro) USB port onboard.
In order to connect these models with the network by Ethernet cable without a WLAN adapter, one can do this over the GPIOs: All you need is the “ENC28J60” module, the connection of which is shown in this tutorial.
Source: Raspberry Pi Zero – Establishing an Ethernet connection (ENC28J60) (Raspberry Pi Tutorials)
In this tutorial, we will cover SSH port forwarding in Linux. This is a function of the SSH utility that Linux administrators use to create encrypted and secure relays across different systems.
SSH port forwarding, also called SSH tunneling, is used to create a secure connection between two or more systems. Applications can then use these tunnels to transmit data.
Source: SSH port forwarding (tunneling) in Linux – Like Geeks
I often forget how to remove a PPA from Ubuntu, so I figured I’d write a quick guide here to remind me — and to help anyone else who needs it!
Source: How to Remove PPAs on Ubuntu & Related Distros Safely – OMG! Ubuntu!
In this post we’re going to show you how you can do video streaming with a Raspberry Pi and a Raspberry Pi Camera – how to stream live video into a web page that you can access in any device that has a browser and is connected to the same network the Pi is.
Source: Video Streaming Raspberry Pi Camera | Random Nerd Tutorials