Position to last line when vi opens a file.

Any Idea without entering any keystroke I can go to end of line in vi when I opening the file.

When I am opening Vi I want to goto last line.

when I give vi + filename it does not work.

Any clue why it does not work.

Thanks.

open the file using

vi filename

then type

:$ 

[and hit enter]

cheers,
Devaraj Takhellambam

vi +$ filename

Regards

vi filename

then type

G (shift + g)