What USB device is that?
Use kernel messages to identify which disk device you can mount.
Straight quotes from pandoc
Change pandoc’s curly quotes into straight quotes with this script.
Viewing PDF documents in console mode
I have a Raspberry Pi 3 that’s sat unused for the last few years. I used to run the Raspberry Pi as a personal “home...
Extracting text with awk
The awk script interpreter is a very handy tool for systems administrators, and anyone else who uses Linux at the command line. With awk, you...
Redirectors — More than you think
If you use the command line at all, you're probably familiar with the basic concept of redirection using Standard IO (STDIO). One common usage is...
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.
Using the dmesg command
As a SysAdmin I frequently need to access the kernel log to obtain information of various types. This can range from searching for why a...
How to get a clean screen — on the command line
After some time using terminal sessions they can get a bit cluttered with previous commands and their output data streams. At other times, I want...
How to do updates on the command line
Keeping your Linux computer as safe as possible from various types of cyber attacks is only possible if you perform updates regularly and upgrade to...
The secrets of the usermod command
Most SysAdmins use a diverse set of commands, but it's usually the same set of commands. And, most frequently, the same set of options for...
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.
How I find and kill rogue programs
As useful and important as Firefox is to my ability to interact with the outside world, create on this website, manage my money, and much...