The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
unix command history mm00123 SUN Solaris 3 12-03-2007 07:13 AM
change filenames to Proper case prvnrk Shell Programming and Scripting 7 09-26-2007 02:43 PM
Unix filenames and spaces x96riley3 Shell Programming and Scripting 2 01-31-2007 07:07 PM
The history of UNIX and the ideas behind it elendil UNIX for Dummies Questions & Answers 6 10-16-2002 04:54 PM
Unix History Link killerserv News, Links, Events and Announcements 4 02-22-2002 03:03 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-14-2005
deckard's Avatar
deckard deckard is offline
Registered User
  
 

Join Date: Jul 2002
Location: Ohio
Posts: 135
Unix History Question: Why are filenames/dirnames case sentsitive in Unix?

I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal with case sensitivity and I hate not really having a good answer for them. The best answer I can give them is that it allows for more filenames in the namespace, but they usually just grunt and reply, "yeah, but who cares". Knowing that Unix seems to have been refined into a really well thought out OS over the decades, I'm sure there must be a reason why case sensitivity was kept (other than legacy compatibility) instead of moving to a case insensitive naming convention. Any gurus out there have any good answers I can give them besides, "You'll get nothing and like it too!!" ;P
  #2 (permalink)  
Old 03-14-2005
locustfurnace locustfurnace is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2004
Posts: 232
I think the reason was because in the real world, there is a difference in name conventions. A is different than a.
Case sensitivity does give more security to passwords, by allowing for more combinations.

I personally prefer case sensitivity, it allows me to have many files, with the same name in a folder, such as Resume, resume. I can have all folders in proper case while files can be all lowercase, allows me to have more control over my filesystem. I believe under DOS/Windows, you could only have a single file named Resume, be it a folder or a file, but not both in the same directory. Unless you add differences to the name.

This may or may not give some help:
http://www.xahlee.org/UnixResource_d...eCaseSens.html
  #3 (permalink)  
Old 03-14-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Thoughout the sixties, computers were upper case only. Most printers could not print a lower case letter. Crt's were very rare, and printing terminals could not handle 2 cases. I used to enter my programs on a 029 keypunch which was upper case only.

Unix bucked the trend by supporting two cases. Look at the "stty iuclc" and "stty olcuc" commands. These show the hoops that unix had to jump through to support two cases in a one case world. I believe that they did it to support the Ascii standard which very clearly states that A and a are two different characters.

Microsoft built dos for IBM. At first it was called "PC-DOS". I think IBM wanted compatability with it's other OS's which were monocase.
  #4 (permalink)  
Old 03-26-2005
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
In my experience, there are very few times where I have to deal with upper case at all in Unix.

I actually prefer lower case now. I see the case sensitivity as another layer of sophistication for unixes. it offers another bit of security as well as for some convention if you wish.

I had a friend who would use Upper case for the first char of a dir name (non-os) then lower for the rest. Also, in teh case of some exe files, use ALL UPPER. For quick identification.

Upper case has its uses... not to be considered trivial.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0