Harness the Combinatoric Power of Command-Line Tools and Utilities

Tips

Explore beyond the book with short, focused command-line tips to increase your productivity.

See Open Network Connections

Published May 17, 2024 and last verified on July 11, 2025

Use the lsof command to quickly see open network connections and their TCP state without DNS lookups.

Follow Log Files With Less

Published May 17, 2024 and last verified on July 11, 2025

Use the less command to follow and monitor log files in real-time and navigate system logs in your terminal.

Find Modified Files

Published May 17, 2024 and last verified on July 11, 2025

Use the find and sort commands to search a directory for the most recently modified files and sort them by modification time.

Create Multiple Files With Brace Expansion

Published May 17, 2024 and last verified on July 11, 2025

Use brace expansion in the terminal to create multiple files or directories with a single command, saving time and effort.

Rename Multiple Files

Published May 14, 2024 and last verified on July 11, 2025

Use a Bash for loop and the mv command to batch rename files in the terminal, changing file extensions efficiently.