LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2006, 06:40 PM   #1
Banyon
Member
 
Registered: Nov 2004
Distribution: Ubuntu/Xubuntu
Posts: 37

Rep: Reputation: 15
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.
 
Old 07-16-2006, 06:44 PM   #2
closet geek
Member
 
Registered: Apr 2003
Location: England
Posts: 146

Rep: Reputation: 15
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
 
Old 07-16-2006, 08:52 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
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
 
Old 07-16-2006, 10:02 PM   #4
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
LQ To The Rescue

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
search on user icon feature john_walsh54 General 5 09-29-2003 09:01 AM
Google search feature Mik LQ Suggestions & Feedback 4 03-07-2003 02:52 AM
ac97 sound problem (yes I did use the search feature :) ) Beav Linux - Hardware 16 10-01-2002 10:14 AM


All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration