Create a patch from differences in a file with the diff and patch commands
When you collaborate on a digital project with someone, it's a guarantee that eventually someone's going to need to send you changes they've made to...
Update Linux from the command line
Be a power user by updating your system from the command line.
Selective updates using ‘dnf’
Here’s how I update my system except for one problem library
Quoting text with ‘sed’
Another great use of sed to make quick edits to a text file.
How I automate file edits with ‘sed’
Here’s a neat command line trick to make changes to a text file.
Processing files with ‘find’ and ‘xargs’
Here’s how I used ‘find’ and ‘xargs’ to locate the articles I wrote and count the words.
Use ImageMagick to work with images
ImageMagick is a handy multipurpose command-line tool for all your image needs.
Searching text files from the command line
The find command is a powerful and flexible tool to locate files under a path.
Check spelling at the command line
Check spelling at the command line like old-school Unix with this cool script.
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 use SSH
You may have heard that Linux and Unix computers give you the ability to control a computer other than the one you're sitting at. That's...
The Linux Philosophy for SysAdmins, Tenet 02 — Transforming Data Streams
Author's note: This article is excerpted in part from chapter 4 of my book, The Linux Philosophy for SysAdmins, with some changes. My article about...
Mastering the Linux cp Command: A Comprehensive Guide
When I began to use Linux over twenty-five years ago I was not as comfortable on the command line as I am now. I had...
How to use the basename command
The basename command is a GNU core utility for UNIX and UNIX-like systems, and is designed to remove the file suffix and leading directories from a filename. It’s a reasonable alternative to at least some uses of the cut command. You’re not likely to use it alone, but it’s an interesting tool to have available to you when constructing a complex command.
Automate Raspberry Pi tasks with crontab
If you need to do a task on a regular schedule, explore how you can use crontab to do the repetitive work for you.
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...