Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a quick key combo that will allow me after typing some stuff in the OSX terminal to move back to the beginning of that line? I have tried different things, and was wondering if there is a way without setting up something that is custom.

share|improve this question
up vote 29 down vote accepted

CTRL+a moves to the beginning of the line, CTRL+e to the end of the line.

share|improve this answer
BTW, it also works in any Cocoa control (text area, etc.) – Loïc Wolff Feb 22 '11 at 15:39
Haha. That easy, huh? Thanks. My Linux habits and <kbd>command</kbd>+<kbd>left</kbd> from the OSX GUI made me scratch my head. – ajstein Feb 22 '11 at 21:14
why, my god? why? – BrunoJCM Jul 10 '15 at 1:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.