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

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

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

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

Rename Multiple Files

Published May 14, 2024

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