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...
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...
Intro to the Linux chgrp and newgrp commands
In a recent article, I introduced the chown command, which is used for modifying ownership of files on systems. Recall that ownership is the combination...
Intro to the Linux chmod command
Every object on your Linux system has a permission mode that describes what actions a user can perform on it. There are three types of...
Play a fun math game with Linux commands
Use these commands to generate random numbers for a fun math quiz game.
Using ‘awk’ to filter text
Here’s how to use awk to strip out sample code from a Markdown file.
Use ‘grep’ to solve a 2-dimensional word puzzle
Regular expressions match patterns and help you solve problems.
Using ‘grep’ to play a word game
You can use regular expressions to match letters and patterns, to help you play a letter game.