I need to view huge log files from the command line when connecting to a web server. I do not want to open the file and read all the contents in memory, clogging the server memory. I just need to scroll through the page and search the log.
I usually use nano. Is this right with memory?
You do not need editing features. lessenough.
less
Using:
less /path/to/your/logs
Use the arrow keys or Page Up / Down to navigate. Enter hfor more information.
h
15.31 :nano: 23576 kBless: 3580 kB
nano
!
Source: https://habr.com/ru/post/1766461/More articles:How would you calculate the font point size needed to best fit a predefined area? - c #Add event to dynamically declared control - powerbuilderCase for the first character of a string - stringHow can I efficiently calculate ranges that span a certain range in Perl? - performanceOnLoad processing (loaded) in Silverlight using the MVVM model - silverlightUsing the MAX aggregate between two tables - maxHow well does m2eclipse work with maven plugins? - maven-2How can you visually imagine which threads are blocked for which objects in Java during debugging? - javaunderstanding synchronized in java - javaHow to check classes in a hierarchy in a generic type in a safe way? - inheritanceAll Articles