Weblog Archive

Find

Tue, 25 Mar 2008 at 22:32 • Filed under Asides, Linux

Find is a fine command in Ubuntu for searching files. To look for files in places other than /home, you’ll need to use sudo: sudo find / -name php.ini (where / is root, and php.ini is the file I’m looking for—for example.)

[ Ads ]

Related posts

Following list is auto-generated, based on this post's context as possibly related. You may, however, occasionally find some in this list unrelated, but nevertheless, we sincerely hope that you'll enjoy them too.

4 responses to “Find”

  1. David Collantes said:

    The command “find” is a “UNIX and UNIX alike fine command.” :-P Cheers!

  2. Chetan said:

    David, aren’t most commands in any flavor of linux? I don’t see why you need to clarify this. My mention of ubuntu is simply because that’s the flavor I’m referring to.

  3. David Collantes said:

    I would make distinctions on ‘flavors’ when it is something that it is specific to the flavor. There are differences on packages, file location, configurations, etc, between Linux distros.

    A command as trivial as ‘find’ is found in all distros. It is part the GNU Find Utilities, mimicking the original UNIX commands, probably enhanced too.

    Probably a misunderstanding on my part. Remember, English isn’t my mother tongue :|

  4. Chetan said:

    I would make distinctions on ‘flavors’ when it is something that it is specific to the flavor.

    Okay, I see what you’re getting at. Fair enough :) .

    ETA: My reason for mentioning ubuntu in particular is that it has a GUI Find in its menu bar, but that does not allow you to search in locations other that the /home folder. So, you’re still forced to use find in Terminal (using sudo).