LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-25-2006, 01:44 PM   #1
hak_uc
LQ Newbie
 
Registered: May 2006
Posts: 13

Rep: Reputation: 0
"find" command


The find command on our linux machines is not working correctly.
Even a simple find like - find . -name "IL6*" -print does not return anything...even though the files exist.

I am running Redhat ES v4.0

uname command result
$ uname -a
Linux ccapps 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux


I am wondering where i could download the find command utility file and reinstall it? Or is there any other way of correcting the problem?


thank you
Kiran
 
Old 05-25-2006, 01:52 PM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,
can you post how the file is called?
regards,
slackie1000
 
Old 05-25-2006, 02:27 PM   #3
hak_uc
LQ Newbie
 
Registered: May 2006
Posts: 13

Original Poster
Rep: Reputation: 0
hi

i am running the find command from the home directory.

homedir -> folder1 -> IL6.txt

so I am tryin to find IL6 from the home directory using the command

find . -name "IL6*" -print

comes up empty.

Other users are having a problem with find command too.
 
Old 05-26-2006, 06:56 AM   #4
lurker79
Member
 
Registered: Jan 2005
Location: UK
Posts: 55

Rep: Reputation: 16
Do you have read and execute permissions in that directory?
Do you have read permissions on that particular file?
 
Old 05-26-2006, 12:25 PM   #5
hak_uc
LQ Newbie
 
Registered: May 2006
Posts: 13

Original Poster
Rep: Reputation: 0
hi

yeah i have full permissions on those files.
 
Old 05-26-2006, 12:41 PM   #6
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
you need to specify which mount point to find the file from. If you are not sure then search from the root mount point.

Example: find /home -name 'IL6*'
 
Old 05-26-2006, 05:53 PM   #7
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,023
Blog Entries: 6

Rep: Reputation: 1795Reputation: 1795Reputation: 1795Reputation: 1795Reputation: 1795Reputation: 1795Reputation: 1795Reputation: 1795Reputation: 1795Reputation: 1795Reputation: 1795
Use the locate command

Code:
locate xyz.pdf
 
  


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
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 08:42 AM
A regularly executing "find" command without my intention freaks me simber Linux - Newbie 2 05-21-2006 11:29 AM
Not able to Run/find "configure" command aaryan72 Linux - Newbie 4 09-10-2005 12:16 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM
Help,I can't find my USB mouse when I run "kudzu" command in RH9. aeolus Red Hat 0 03-27-2004 10:14 PM

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

All times are GMT -5. The time now is 07:57 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