LinuxQuestions.org
Review your favorite Linux distribution.
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 01-03-2006, 12:20 PM   #1
mehjabin_25
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Linux case sensitive does not treat!


Linux treats filenames in a case sensitive way,for example b[a-z]ck does not match bAck.
but when i try it in text mode it will be treat no case sensitive.when i create the file with name "book" when i entered b[A-Z]ok
usually it will be not shown .but it was shown why?I want to try charecter match.it does not treat it case sensitive.Why?mehjabin_25@yahoo.com
 
Old 01-03-2006, 01:20 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,479

Rep: Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635
Moved: This thread is more suitable in Linux - Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.

--jeremy
 
Old 01-03-2006, 01:34 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
mehjabin_25:

I am not seeing this behavior. Can you give a specific example? And what do you mean by 'text mode'?
Code:
$ ls foo.txt
foo.txt
$ ls foo.[A-Z]xt
ls: foo.[A-Z]xt: No such file or directory
$ ls foo.[a-z]xt
foo.txt
 
Old 01-03-2006, 04:43 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Linux / Unix is ALWAYS case sensitive at the command line. Some search functions might allow case-insensitve search
 
Old 01-04-2006, 08:53 AM   #5
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
yea and mostly no spaces in file names either but this is relaxed to some extent
 
  


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
is apache case-sensitive? browny_amiga Linux - Software 2 06-21-2004 02:57 PM
Why is linux case sensitive? Jestrik Linux - General 9 12-16-2003 08:05 AM
mySQL LIKE search is case sensitive? icepig Linux - Software 4 11-14-2003 05:29 PM
case sensitive groupadd? sysmaster Linux - General 0 07-28-2003 05:53 AM
case-sensitive issue david_wliu Linux - General 4 03-06-2003 11:46 PM


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

Main Menu
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