Find the answer to your Linux question:
Results 1 to 4 of 4
how to go to the end of a source file in vi(instead of using ctrl+d and going page by page)?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    18

    how to go to end of file(vi)


    how to go to the end of a source file in vi(instead of using ctrl+d and going page by page)?

  2. #2
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    I found this cheat sheet on using Vi(m). According to it:

    line G - goto particular line (or end-of-file)
    Hope that helps!
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  3. #3
    Just Joined!
    Join Date
    Dec 2008
    Posts
    1

    Wink Go to end of file in vi

    Natural extension to going to the beginning and end of a line, i.e. 0 and $.

    Beginning and end of file, i.e. :0 and :$

  4. #4
    Linux Newbie
    Join Date
    Mar 2008
    Location
    Hyderabad
    Posts
    109
    G
    this is enough

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •