# vi +{linenum} {filename}
vi +36 filename.txt
: '
You can also use the ex command line to go to a line.
(For information about the ex mode, see How do I use the vi text editor?)
For instance, if you wanted to go to line 36, you could press Esc and then enter:
'
:36
: '
If youre already in vi, you can use the goto command.
To do this, press Esc, type the line number, and then press Shift-g.
If you press Esc and then Shift-g without specifying a line number,
it will take you to the last line in the file.
'
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.