Stack Exchange
Super User Stack Exchange
Questions
Tags
Users
About
Super User Stack Exchange
Public
Questions
Tags
Users
About
What's the command to open a file and jump to an specific line in vi?
Asked
Jan 07 '10 at 16:01
Active
Jan 07 '10 at 16:11
Viewed
86 times
0
It was something like
vi -line:123 myfile.txt
vi
asked Jan 07 '10 at 16:01
OscarRyz
4,131
1 Answers
1
2
vi +123 myfile.txt
answered Jan 07 '10 at 16:11
fretje
10,702
Found it here btw: http://www.lepp.cornell.edu/~kgao/Linux_in_a_Nutshell_3rd_Edition/CH11_02.HTM
–
fretje
Jan 07 '10 at 16:11