Learn Command-Line Shortcuts

Throughout this book I’ve mentioned tips, tricks, and shortcuts for performing a wide variety of command-line tasks, and in the next chapter (Command-Line Recipes) I show you dozens of prebuilt, ready-to-use commands and scripts. In this chapter, however, I wanted to pull together some of my favorite tips for using the Terminal app itself, and zsh in particular, that didn’t quite fit anywhere else. As you become more adept at the command line, you’re also likely to be more annoyed at inefficiencies, and this chapter aims to eliminate quite a few of them!

Terminal Tips and Shortcuts

I want to begin with a few words about useful but oft-overlooked features in the Terminal app itself—features that work regardless of ...

Get Take Control of the Mac Command Line with Terminal, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.