Learn Why ‘less’ is Faster Than ‘more’ Command for Effective File Navigation

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

5 Responses

  1. hagay godovanik says:

    And then there is “most”.

  2. LTT MDM says:

    One of the things I like about less command is that you can jump to the bottom of a file by typing an uppercase "G" — and just as quickly jump to the beginning of the file by typing a lowercase "g". Combined with the -N option, it gives you a quick, interactive means of inspecting the contents of a file and counting lines.

    There are about a million commands you can use in less… typing a lowercase "h" in-program will display a lengthy help file.

    • Ravi Saive says:

      @Thomlandin,

      Thanks for sharing the tips about Linux less command, hope users will find it useful and yes, me too likes less command and as articles states, yes its quicker than more command..

  3. Linux says:

    A little mistake at the beginning of 4th line under “Learn Linux ‘less’ Command”

  4. Geoff says:

    It is not true that “The main difference between more and less is that less command is faster because it does not load the entire file at once and allows navigation though file using page up/down keys.”

    Not loading the entire file is the primary reason more was created, so that a file could be quickly viewed with more instead of waiting for it to load in an editor. There may be ancient versions of more around which don’t support navigating back up the file, but POSIX standard versions of more do support it.

    While it’s true that “less is more with more features”, most of the extra features you describe for less in this article are actually also present in (modern versions of) more.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?