Solved

long file in vi

Posted on 2002-04-11
7
290 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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.…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

752 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