5 Command Line Tools to Find Files Quickly in Linux

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. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  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.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

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...

6 Responses

  1. Kryztoval says:

    Why are you piping cut when you could have used "-l" or –-files-with-matches directly and avoid using a second command.

  2. Andrew McDermott says:

    If you are using bash you should use the built-in type instead of the external which.

  3. Gray Arswright says:

    `which` is great, however, I’ve found that it can lull its users into a false sense of security – the results of `which` aren’t necessarily going to be the executable that handles your call.

    If you want to know for certain what’s running when you type `foo` at the command line, here are a few additional commands to keep in mind:

    • `alias | grep “foo”` – Check for declared alias.
    • `typeset -f “foo”` – Check for declared function (useful within shell scripts, particularly if you’re using someone else’s libraries).
    • `type -f “foo”` – Check for shell builtin, alias, or executable, or symlinked executable.
    • `file –dereference -E “/path/to/foo”` – Find out what’s on the receiving end of that symlink.

Got something to say? Join the discussion.

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.