Solved

long file in vi

Posted on 2002-04-11
7
288 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
  • 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

770 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