to go to the end of the file

Hi,
Can anyone pls tell me the key combination to directly go to the end of the file in vi editor within linux?

Regards,

I found this on the Internet…it does not make sense to me because I do not use it but this is the code:

*line* G - goto particular line (or end-of-file) 			 		

Hope it helps!

Cheers!
etech97:)

HuaMin wrote:

>
> Hi,
> Can anyone pls tell me the key combination to directly go to the end of
> the file in vi editor within linux?
>
> Regards,
>
>

Hi you can use ‘:$’ to go to end of file or the key combinataion shift+g
(Capital g)


Thanks, Andrew
Posted from openSUSE 11.3 “Teal” x86_64