6.7.4 Going to a Specific Line
To go to the last line of an open file, by type G.
To return to the first line of the file, by type 1G.
You can go to any other line by typing its number followed by G.
For example, suppose that you quit the file paint
while editing line 51. You can access that line by opening the file and typing 51G.