-   Linux - Newbie (
-   -   Linux case sensitive does not treat! (

mehjabin_25 01-03-2006 11:20 AM

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 does not treat it case sensitive.Why?

jeremy 01-03-2006 12:20 PM

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


bulliver 01-03-2006 12:34 PM


I am not seeing this behavior. Can you give a specific example? And what do you mean by 'text mode'?

$ ls foo.txt
$ ls foo.[A-Z]xt
ls: foo.[A-Z]xt: No such file or directory
$ ls foo.[a-z]xt

pixellany 01-03-2006 03:43 PM

Linux / Unix is ALWAYS case sensitive at the command line. Some search functions might allow case-insensitve search

Boow 01-04-2006 07:53 AM

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

All times are GMT -5. The time now is 10:42 PM.