What is a good text viewer for Linux?

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?

+3
source share
1 answer

You do not need editing features. lessenough.

Using:

less /path/to/your/logs

Use the arrow keys or Page Up / Down to navigate. Enter hfor more information.

15.31 :
nano: 23576 kB
less: 3580 kB

!

+7

Source: https://habr.com/ru/post/1766461/


All Articles