The advantage of being able to move the cursor over words is that you can go really far through the command with just a few keystrokes. Here’s how to do that in Terminal on your Mac.

Moving the Cursor Word by Word in Terminal on a Mac

  1. Launch Terminal on your Mac.
  2. Type in a command in Terminal that has some words so you can do this procedure. Once you have typed the command, use the following keys to move forward or backward word by word: Esc + B – to move the cursor backward by a word Esc + F – to move the cursor forward by a word

The keystrokes above should work in almost all the Unix-based terminals. But, you also have Mac-specific key combinations that let you move the cursor the same way as above. Those are: Option + Left Arrow – to move the cursor backward by a word Option + Right arrow – to move the cursor forward by a word

Conclusion

That’s how to move forward or backward by a word in Terminal on your Mac. If Terminal happens to be the app you use often, the tip above should help you make your work a little easier.