Super User is a question and answer site for computer enthusiasts and power users. 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

I realize that G will move the cursor to the last line in a file, but is there a command that will move to the last character?
I know I can type G$ to do this but I thought there might be a single command which does this.

share|improve this question

This has been asked before, and no single-keypress command was listed, though you might prefer Ctrl-End to G$:

share|improve this answer
Ah. I searched SuperUser but I didn't search Unix and Linux. Thanks. I guess I should always start my searches at There are so many StackExchange sites you never know where an answer might pop up. – dedwarmo Feb 11 '13 at 18:15

There is indeed a command, the obscure go (go to {count} byte), but you have to specify a count >= the file size (e.g. 99999go), which makes it kinda impractical.

share|improve this answer

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.