Technology TidBits
Answers to various technical questions on php programming, mysql, linux, and many more categories.
Home
/
Programming
/
Vi
/ How can I jump to a line in the vi editor?
How can I jump to a line in the vi editor?
Last updated: 07/02/2009
Email Friendly Link
Print
Add comment
Rate it
Useful
Useless
Votes: 0
Comments: 0
Usually when running a script that has syntax or parsing errors, a line number is given at or near the error. Once you get into your vi editor, type the following to jump to the line specified:
:30
would take you to line 30
Other questions in this category:
How do I set Tab stops in VI?
How can I turn on line numbering in Vi?
How can I remove DOS linebreaks (^M) from my files?
How can I remove leading whitespace in all lines in a file using vi?
How can I delete a large chunk of text using vi?
How can I undo and redo changes in vi?
How can I search in the vi editor?
Powered by
KnowledgebasePublisher 1.1
Content provided by
Roberts WebForge, Inc.