Linux locate command: Find Files and Directories Quickly and Efficiently - Comment Page: 1

This is quick guide howto find files and directories quick and efficiently on Linux with locate command. Linux find command is outdated, slow and complicated to use, so locate command is much better option. Locate basic usage find files and directories locate file # example locate httpd.conf locate path # example locate /X11/ Find (locate) ignore-case (not case sensitive) locate -i file # example locate -i netbeans Find (locate) only file name (basename) locate -b file # example locate -b shadow Limit locate output locate -l 100 file # example locate -l 50 conf Print number of found entries locate -c file # example locate -c...

3 comments on “Linux locate command: Find Files and Directories Quickly and Efficiently - Comment Page: 1

    1. this post is very usefull thx!

      Reply
    2. Thanks JR,

      I’m new to working on Linux Servers & this tut has helped me to learn new thing

      Reply
      • Hi Chris,

        Nice to hear that this guide helped you and welcome to Linux world. :)

        Reply

Leave a Reply to JR Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close