Print double-sided documents with this Bash script
Use Bash to print 2-sided documents on a printer that can only print on one side.
How I delay code execution in Bash until a remote host is responding
I have recently been working on some code that needs to run on a remote host using SSH. I describe this in my article, Using...
How I used fdisk in a script to partition a drive
Image by Gerd Altmann on Pixabay. As you probably know by now, I believe in automating everything. So when one of my scripts failed to...
The Linux Philosophy for SysAdmins, Tenet 13 — Make programs portable
Image by Opensource.com: CC-by-SA 4.0 Author’s note: This article is excerpted in part from chapter 15 of my book, The Linux Philosophy for SysAdmins, with...
The Linux Philosophy for SysAdmins, Tenet 11 — Store data in open formats
Image by Opensource.com: CC-by-SA 4.0 Author’s note: This article is excerpted in part from chapter 13 of my book, The Linux Philosophy for SysAdmins, with...
How to use the base64 command on Linux
The base64 command converts binary data to ASCII data so that it can be transmitted as text. It's a common method of encoding used to...
How to do fast, repeatable Linux installations #2 — Bash scripts + RPM
In Episode 1, How to do fast, repeatable Linux installations #1 -- Bash scripts, I discussed how I used a Bash script after performing a...
How to do fast, repeatable Linux installations #1 — Bash scripts
Image by: Opensource.com Some of my articles and an entire book have been about The Linux Philosophy For SysAdmins and its impact on the daily...
How my easy, home-made backup program saves time, space on the storage medium, and network bandwidth
Nothing can ever go wrong with my computer and I will never lose my data. Riiiiight.
This article discusses the backup program I created to prevent catastrophic data loss and facilitate easy recovery. I also show how you can install and use it yourself.
Using the command line calendar and date functions in Linux
have always been interested in historical dates and determining the actual day of the week an event occurred. What day of the week was the Declaration of Independence signed? What day of the week was I born? What day of the week did the 4th of July in 1876 occur? I know that you can use search engines to answer many of these questions. But did you know that the Linux command line can supply those answers, too?
Learn Bash by writing a number guessing game
Learning a new programming language can be a fun exercise.
Using ‘if’ in a Bash script
Writing a short Bash script can save typing lots of instructions at the command line.
Parsing config files with Bash
Separating config files from code enables anyone to change their configurations without any special programming skills.
Using logical operators on the Bash command line
Add powerful logic to the command line with control operators in compound commands.
Linux Love Affair: Screenfetch vs. Neofetch – Who Wears the Crown?
Image by: Opensource.com CC-by-SA 4 You might want to share your Linux configuration with others for many reasons. You might be looking for help troubleshooting...
Programming Bash #8: Initialization and sanity testing
In previous articles of this series we created our first, very small, one-line Bash script. We also explored the reasons for creating shell scripts and...