“All governments suffer a recurring problem: Power attracts pathological personalities. It is not that power corrupts but that it is magnetic to the corruptible.”
- Frank Herbert in “God Emperor of Dune”
Matthew
matthew@bchnostr.com
npub1hrjt...3ft3
Aspiring Cypherpunk and Computer Code Writer
I write an email newsletter about Linux and related freedom tech. Also do a Weekly Computer Giveaway
Every week, I do a drawing for a computer giveaway. I use the Linux core utility 'shuf' to randomly select a subscriber of my email newsletter.
This week I will be giving away a refurbished Lenovo ThinkCentre M710q Tiny with Linux pre-installed.
For a chance to win, just be a subscriber.
#Linux #TinyMiniMicro #Lenovo

RetroEdge.Tech Newsletter | Matthew | Substack
Newsletter on the cutting edge of retro tech: not-so-new computers, Lua programming, Linux, BSD and more. Click to read RetroEdge.Tech Newsletter, ...
When using Linux on your own computer, or a server, a good skill to learn is scripting with the Bash Shell.
I've known the basics for years, but have recently been pushing myself to write more useful and slightly more complicated scripts in Bash.
Commenting code is very helpful, both in writing the code as comments can give a structure that is then filled in with functional code, and also later when reading the script to review or make adjustments.
Here's a good article (not by me) on how to use comments in Bash Scripts:
#Linux #bash #programming

How to Add Comments in Your Bash Scripts
How to Add Comments in Bash Scripts
In Bash scripting, there are several ways to add comments, and in this article, we'll explore different methods to do just that.