You are reading the article How To Move The Cursor Word By Word In Terminal On Your Mac updated in September 2023 on the website Nhahang12h.com. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested October 2023 How To Move The Cursor Word By Word In Terminal On Your Mac
Many times it happens that you type a command in Terminal on your Mac and then need to make changes in the command. You then go back character by character to modify the command to then be able to execute it. While moving character by character in a Terminal command can be done using the arrow keys on your keyboard, moving the cursor word by word requires a different key combination.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 wordConclusion
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.
Mahesh Makvana is a freelance tech writer who’s written thousands of posts about various tech topics on various sites. He specializes in writing about Windows, Mac, iOS, and Android tech posts. He’s been into the field for last eight years and hasn’t spent a single day without tinkering around his devices.
Subscribe to our newsletter!
Our latest tutorials delivered straight to your inbox
Sign up for all newsletters.
You're reading How To Move The Cursor Word By Word In Terminal On Your Mac
Update the detailed information about How To Move The Cursor Word By Word In Terminal On Your Mac on the Nhahang12h.com website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!