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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

less command question 1

Status
Not open for further replies.

hok1man

Technical User
Feb 16, 2008
102
Hi guys,

I just got a simple question but I just couldn't nail it.

I got a source code error on line 148, and I would like to view it from 148 onward. How do I do that?

I know how to view it using vim but I just want abit more handy which I used to do using less.

I did :
head -148 filename | tail
or
using vim put the line number.

Thanks guys,
 
Perhaps this ?
less +128 filename

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top