LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs > rcmonroig
User Name
Password

Notices

Rate this Entry

locate: can not open

Posted 10-21-2009 at 11:35 AM by rcmonroig

Quote:
Originally Posted by lutusp View Post
Try this:

# updatedb (as root) (if you have problems locating something you know exists)

Then:

$ locate "*.h"

Note the quotes -- this will prevent shell expansion of your argument, so "locate" sees it as you intended regardless of the content of the current directory.


This solved the problem.
Posted in Uncategorized
Views 622 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 09:37 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration