Harness the Combinatoric Power of Command-Line Tools and Utilities

Videos

Go beyond the book. Check out these short videos from the Small Sharp Software Tools YouTube Channel.

Command Line Shortcuts

Published February 5, 2021

Speed up your terminal workflow with keyboard shortcuts for navigating, editing, and recalling commands in Bash and Zsh shells.

Editing Files You Don’t Own with sudo

Published February 4, 2021

Edit and modify system files you do not own using sudo, tee, and other techniques to safely make changes with elevated privileges.

Saving Output to Files

Published February 2, 2021

Redirect command output to files using stdout and stderr redirection operators, and append or overwrite files from the terminal.

Looking Up Domains

Published February 6, 2019

Look up domain name records, IP addresses, and registration details from the command line using host, dig, and whois.

Fixing Mistakes

Published January 28, 2019

Fix command-line typos and mistakes with keyboard shortcuts and history substitution so you can correct errors without retyping.

The Cal Command

Published January 27, 2019

Display a calendar in your terminal with the cal command, view specific months or years, and highlight dates for quick reference.

Dates with the Date Command

Published January 26, 2019

Format dates, calculate future and past dates, and do date math from the terminal using the date command on macOS and Linux.

Making Directory Structures

Published January 23, 2019

Use the mkdir command with the -p flag and brace expansion to build a full project directory structure in a single command.

Three Ways to Create Files

Published January 21, 2019

Create files from the command line using touch, redirection, and heredocs, and understand when to use each approach.