Show line numbers in vi or vim
November 5th, 2009 by vickyHave you ever wondered how to show line numbers in vi or vim while editing file? I do that always when I patch some software or install MODs that come with “go to line xxx and rewrite this…”. And the solution is really simple.
In vi/vim type :set number to show line numbers and :set nonumber to hide line numbers.
Posted in General linux admin | No Comments »