1836594 Members
2516 Online
110102 Solutions
New Discussion

editing vi editor

 
SOLVED
Go to solution
Jack_126
Frequent Advisor

editing vi editor

how to insert line numbres in the edited file.
using vi editor.I mean if the file is big and I want to give number to each line.So that I can go to the perticular line no.
2 REPLIES 2
Ranjith_5
Honored Contributor
Solution

Re: editing vi editor

do the following.

vi
press ESC key
then type ":se nu"


and if u wanna go to a particular line,
press ESC key
type ":

hope this will help u.

for more functions see man page of vi.

Regards,
Syam
Jack_126
Frequent Advisor

Re: editing vi editor

Thanks, its working.

Regards
Jack