LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux case sensitive does not treat! (http://www.linuxquestions.org/questions/linux-newbie-8/linux-case-sensitive-does-not-treat-399091/)

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 match.it does not treat it case sensitive.Why?mehjabin_25@yahoo.com

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.

--jeremy

bulliver 01-03-2006 12:34 PM

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


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 11:01 PM.