LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-22-2013, 06:31 PM   #1
darthaxul
Member
 
Registered: Aug 2008
Distribution: Devuan; Gentoo; FreeBSD
Posts: 236

Rep: Reputation: 19
file searching program


Is there a usermode file search program other than updatedb/locate?
Having issue with this when I run 'updatedb -o mydb' it says it can't change the group to locate, operation not permitted. So I change it to locate but then it still wont run.
 
Old 02-22-2013, 06:52 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
You need to run updatedb as root.

You can use "find" instead of locate. The main difference is that locate is intended to be much faster via the indexing database it uses but you cant locate something unless the database is updated. find will do an active search.

Code:
find /var/www/html -type f -name *.jpg
Would find all .jpg files in your /var/www/html and subdirectories. See the ss64.com/bash/find.html page or the manual page for find in the os.
 
1 members found this post helpful.
  


Reply



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
Need a file-searching program for Mint 12 Lisa (Gnome) frank81 Linux - Software 2 05-07-2012 10:48 PM
[SOLVED] Indexing/organizing/searching Program? Amdx2_x64 Linux - Software 8 11-18-2011 04:24 AM
Searching for a program like XMLSpy RazvanZ Programming 3 01-10-2008 04:18 AM
Searching for a vector drawing program with tablet support. kummiliim Linux - Software 4 05-05-2007 09:38 AM
Searching some program like ACDC in windows. zelgadis Linux - Software 3 07-25-2002 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:33 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
Open Source Consulting | Domain Registration