LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Newbie needs search feature (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-needs-search-feature-464649/)

Banyon 07-16-2006 05:40 PM

Newbie needs search feature
 
I know this question is kinda dumb, but how do I search my hard drive for a specific file?

I know the file I want, but I have no idea where it happens to be located and I can't find a search feature on this distro.

I'm using Xubuntu (Ubuntu with XFCE DE).

Probably something simple I can type into the terminal, but none of the 3 forums I visit, nor google, produced any results.

closet geek 07-16-2006 05:44 PM

The easiest is probably:

locate file

you might need to run:

updatedb

as root first.

There are many other ways but that's the quickest and simplest in your case I imagine.

cg

cs-cam 07-16-2006 07:52 PM

Code:

find / -name 'filename.ext'
find is handy in the way that finding a $100 bill on the street would be handy. It has options galore and can be as simple as you want (above example) or as complicated as you want. Magic stuff IMO :)

Dragineez 07-16-2006 09:02 PM

LQ To The Rescue
 
How bout that.. You come to LQ and get two correct answers right away!


All times are GMT -5. The time now is 02:23 PM.