
This shortcut clears the entirety of the line before the cursor. If you need to kill what’s currently running, us Control and C in Terminal to abort the current application. Command and E will take you back to the beginning, or the far left, of the line you are currently working on. This shortcut is the opposite of Command and A. Using Command and A will take you to the end, or the far right, of the line where your cursor is. It will open up and allow you to find a previously used commands that you may need to access again. If you need to locate a previously used command in Terminal, use Control and R.

So, if “this is” sits before the cursor, using Escape and T will change that to “is this.” Control + R This will swap the two words that appear immediately before the cursor. Using this keyboard combination will delete the word immediately before, or to the left of, the cursor. Use Option and the left arrow to move back and use Option with the right arrow to move forward down the line. This shortcut allows you to move the cursor between separate words in a command line. Whether you’re a recent convert from Windows or Linux, or you’re about to start your first job out of school, here are 20 keyboard shortcuts on OS X that will make life easier if you’re working in Terminal. Also, Macs are known for having their own proprietary set of keys that differ from more traditional keyboards.

Here are 20 shortcuts to help you get work done in Terminal on your Mac.īoasting some of the best web development software, the ability to develop for almost any platform, and a great design and user experience, it’s no wonder why Macs are used by many developers as their primary machine.Īs a developer, being able to properly navigate your keyboard is one of the most useful skills you can have. These days, more and more developers are moving to OS X. 20 Terminal shortcuts developers need to know
