Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-25-2001, 03:07 AM   #1
LQ Newbie
Registered: Dec 2001
Location: So Cal
Posts: 5

Rep: Reputation: 0
makeing Find command not case sensitive? -ilname isnt working.

ok i read the man pages like 10 times. This dam thing just isnt working. I'm trying to search for *.tgz and have it display all .tgz on the system no matter what their case is. The man page says to use -ilname but i cannot get this to work for the life of me. Here's the comamnds i've tryed

find / -ilname '*.tgz'
find / -ilname *.tgz
find / -ilname "*.tgz"

:smash: :smash: :smash: :smash: :smash:
Old 12-25-2001, 07:48 AM   #2
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
The -ilname option in find is for finding symbolic links. If you want regular files then choose the -iname option.
find / -iname '*.tgz' 


find test -name '*.[Tt][Gg][Zz]'
Old 12-25-2001, 12:47 PM   #3
LQ Newbie
Registered: Dec 2001
Location: So Cal
Posts: 5

Original Poster
Rep: Reputation: 0
Wahoo, Works, thanks man.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is it possible to make apache2 non-case sensitive snip128 Linux - Newbie 1 07-15-2005 05:00 PM
is apache case-sensitive? browny_amiga Linux - Software 2 06-21-2004 01:57 PM
Why is linux case sensitive? Jestrik Linux - General 9 12-16-2003 07:05 AM
case sensitive groupadd? sysmaster Linux - General 0 07-28-2003 04:53 AM
case-sensitive issue david_wliu Linux - General 4 03-06-2003 10:46 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:11 PM.

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