Solved

long file in vi

Posted on 2002-04-11
7
291 Views
Last Modified: 2013-12-16
How do you view a long file in vi and search a string..
Sometimes vi says that File too long...
0
Comment
Question by:vrelhan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6933473
view file
0
 

Author Comment

by:vrelhan
ID: 6933610
what is the concept of vi-buffer file where it stores the information.
0
 

Author Comment

by:vrelhan
ID: 6933613
what is the concept of vi-buffer file where it stores the information.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 51

Expert Comment

by:ahoffmann
ID: 6933635
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 ;-)
0
 

Author Comment

by:vrelhan
ID: 6933638
what is the concept of vi-buffer file where it stores the information.
0
 

Author Comment

by:vrelhan
ID: 6961906
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.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 25 total points
ID: 6962163
vi -R file

# how about RTFM - read the fine man-page ;-)
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question