![]() Press the ‘Control + r’ keys on your keyboard.The quickest way to search your Terminal history, is with a ‘reverse-i-search’ command: In this article I’m going to show you how to run long, complex commands with ease, by searching your Terminal history. Assuming that you’ve ran this command at least once before, you can re-run the command by finding it in your Terminal’s history log, and then pressing the ‘Enter’ key on your keyboard. Sometimes it’s quicker just to cut your loses and re-type the command from scratch!īut why bother typing the command at all?īy default, every command you run is stored in your Terminal’s history. Instead of moving the cursor around the Terminal using your mouse, you’re restricted to moving it one character at a time, using your Mac’s Left/Right arrow keys. To make matters worse, if you reach the end of a command only to realise that you made a typo or spelling mistake somewhere along the way, then correcting that mistake can be a clunky process. ![]() The Terminal is one of macOS’ most powerful utilities, but typing into the Terminal can be a time-consuming and frustrating process – especially since it’s not all that unusual for Terminal commands to stretch across multiple lines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |