Link to home
Start Free TrialLog in
Avatar of vrelhan
vrelhan

asked on

long file in vi

How do you view a long file in vi and search a string..
Sometimes vi says that File too long...
Avatar of ahoffmann
ahoffmann
Flag of Germany image

view file
Avatar of vrelhan
vrelhan

ASKER

what is the concept of vi-buffer file where it stores the information.
Avatar of vrelhan

ASKER

what is the concept of vi-buffer file where it stores the information.
vi's buffer (if you mean that) is used to roll back changes, for example with the u command.
view does not use a buffer 'cause it's readonly ;-)
Avatar of vrelhan

ASKER

what is the concept of vi-buffer file where it stores the information.
Avatar of vrelhan

ASKER

view filename will solve the problem, but if I want to do it with vi only then, is it possible ? Is there any variable or parameter whose value can be increased and vi will allow us to see the long file even.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial