Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aix question for vi

Status
Not open for further replies.

strikelit

MIS
Sep 10, 2003
88
US
I had an error in my sendmail.cf file , its huge, and I had an error in line 350. How can I search for a specific line in vi for this large file ?
 
Enter

:350

or

350G

CaKiwi

"I love mankind, it's people I can't stand" - Linus Van Pelt
 
You can enter

vi +350 sendmail.cf

it will go directly on that line.

other way is to trun line numbers on

go to : prompt

:se nu <hit enter>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top