LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-12-2012, 10:17 AM   #16
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743

Quote:
Originally Posted by SharpyWarpy View Post
LOL, Nice try!
That would be your way of saying that you cannot back up your statement?
 
Old 08-12-2012, 11:32 AM   #17
Mercury305
Member
 
Registered: Jul 2012
Location: Rockville, MD
Distribution: CrunchBang / Ubuntu
Posts: 540

Rep: Reputation: Disabled
Linux is more based towards your computer while Windows is more geared towards the user. Hence, Linux prefers using ASCII characters for what they really are. Each ASCII represents something totally different in Computer Language. However, DOS dumbs things down and it makes no difference. This way Humans can work with a non case sensitive terminal easier.

However you should ask your self.

Are you not smart enough to tell the difference between a Lower Case and an Upper Case?

If you are not smart enough you should stay away from terminal.

But if you can tell the difference then why make things more distorted between you and your computer?

It makes no sense for me...
 
Old 08-12-2012, 12:15 PM   #18
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Quote:
Originally Posted by Mercury305 View Post
Linux is more based towards your computer while Windows is more geared towards the user. Hence, Linux prefers using ASCII characters for what they really are. Each ASCII represents something totally different in Computer Language. However, DOS dumbs things down and it makes no difference. This way Humans can work with a non case sensitive terminal easier.
Gnu/Linux is geared to the user. Which Gnu/Linux a user chooses will dictate the need to understand case while in a shell. Meaning if the user selects a *buntu type then the access to the terminal will be limited and sometimes no need at all. Users will sometimes use a GUI editor and be shown the difference in the 'shift' key to get the desired ASCII representation. Same way with a Microsoft user for ASCII, a user will eventually learn the case sensitivity. Microsoft 'cmd' does not take advantage for using case.

Quote:
Originally Posted by Mercury305 View Post
However you should ask your self.

Are you not smart enough to tell the difference between a Lower Case and an Upper Case?

If you are not smart enough you should stay away from terminal.
I totally disagree with the above. Working within a 'shell' can be a life enhancing event for one to learn. A user can learn to use the shell and should not be biased by statements like yours.

Quote:
Originally Posted by Mercury305 View Post
But if you can tell the difference then why make things more distorted between you and your computer?

It makes no sense for me...
Apparently you do not understand the working advantages for a 'shell'. In fact the above statement makes no relative association to case when used within a 'shell' be it Gnu/Linux or Microsoft. Writing a 'shell' script in bash provides a uniqueness.

Also within a '.bat' file the case sensitivity can be used to highlight or direct what one is doing even if '.cmd' shell will take either. The use of case with DOS 'bat' files can be used to provide understandable code therefore trace ability for a user when viewing to understand what is going on.

Look at: Case sensitivity - Wikipedia
Quote:
With computer systems In computers, some examples of usually case-sensitive data are:
Some computer languages are case-sensitive (Java, C++, C#, C,Verilog, [1] Ruby[2] and XML). Others are case-insensitive (i.e., not case-sensitive), such as most BASICs (an exception being BBC BASIC), Fortran, SQL[3] and Pascal. There are also languages, such as Haskell, Prolog and Go, in which the capitalization of an identifier encodes information about its semantics.
Case-insensitive operations are sometimes said to fold case, from the idea of folding the character code table so that upper- and lower-case letters coincide. The alternative smash case is more likely to be used by someone that considers this behaviour a misfeature or in cases wherein one case is actually permanently converted to the other.
In Unix filesystems, filenames are usually case-sensitive. Old Windows filesystems (VFAT, FAT32) are not case-sensitive (there cannot be a readme.txt and a Readme.txt in the same folder) but are case-preserving, i.e. remembering the case of the letters. The original FAT12 filesystem was case-insensitive.[4] Current Windows file systems, like NTFS, are case-sensitive, that is you can have a readme.txt and a Readme.txt in the same folder, however, Windows disallows you to create a second file differing only in case.[5].
HTH!
 
1 members found this post helpful.
Old 08-12-2012, 12:34 PM   #19
Mercury305
Member
 
Registered: Jul 2012
Location: Rockville, MD
Distribution: CrunchBang / Ubuntu
Posts: 540

Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
Hi,



Gnu/Linux is geared to the user. Which Gnu/Linux a user chooses will dictate the need to understand case while in a shell. Meaning if the user selects a *buntu type then the access to the terminal will be limited and sometimes no need at all. Users will sometimes use a GUI editor and be shown the difference in the 'shift' key to get the desired ASCII representation. Same way with a Microsoft user for ASCII, a user will eventually learn the case sensitivity. Microsoft 'cmd' does not take advantage for using case.

I totally disagree with the above. Working within a 'shell' can be a life enhancing event for one to learn. A user can learn to use the shell and should not be biased by statements like yours.

Apparently you do not understand the working advantages for a 'shell'. In fact the above statement makes no relative association to case when used within a 'shell' be it Gnu/Linux or Microsoft. Writing a 'shell' script in bash provides a uniqueness.

Also within a '.bat' file the case sensitivity can be used to highlight or direct what one is doing even if '.cmd' shell will take either. The use of case with DOS 'bat' files can be used to provide understandable code therefore trace ability for a user when viewing to understand what is going on.

Look at: Case sensitivity - Wikipedia
HTH!
I think you misunderstood or I did not explain what I tried to correctly. I used sarcasm in the end about "being smart enough to differentiate caps".

Ofcorse the terminal is very important to use. I would be a fool to deny that. I did not mean the BAT files in DOS but rather the DOS Command Line Shell in which case sensitivity does not exist from my experience. I personally don't like DOS I find it backwards and unlogical. Yes that includes the so called Logical disk drives as well using letters.
 
Old 08-12-2012, 02:22 PM   #20
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

I did not misunderstand, just believe things needed some clarity.
 
Old 08-12-2012, 03:28 PM   #21
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
An interesting thread. I wonder though why the OS on a REAL computer (IBM Mainframe) is upper case only? At least that has been my experience with MVS. It gets really upset if you ftp a file from a PC to a pds and end up with a mixed case name. Or if you get some mixed case text in a jcl member. Of course everything is stored as EBSIDC but that is another story.

Ken
 
Old 08-12-2012, 04:07 PM   #22
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,781

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by taylorkh View Post
I wonder though why the OS on a REAL computer (IBM Mainframe) is upper case only?
Hysterical raisins.
 
Old 08-12-2012, 06:00 PM   #23
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
I believe it was the way the IBM connected generally to only terminals.
At some point they went to the 3270's and 4000''s

http://en.wikipedia.org/wiki/IBM_3270

Last edited by jefro; 08-12-2012 at 06:04 PM.
 
Old 08-12-2012, 06:04 PM   #24
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Strictly speaking, case sensitivity is a function of the file system. Traditionally, Unix/Linux systems use case-sensitivity ... but the original file system that was installed on my (Mach Darwin) OS/X machine was case-insensitive. I replaced it with another Apple-provided choice.

Windows operating systems accept multi-case file names but treat those names in a case-insensitive way. When a Windows-compatible filesystem driver is used, so does Linux.

And finally, the original "FAT" filesystem shifted EVERY.NAM TOEIGHTD.OT3 ANDUPPER.CAS ONLY.DAT. If you were to install such a monstrosity on Linux, "so would Linux." (It of course could not run with such a system as its sysres volume, but it could theoretically use it on a partition or virtual-disk.)

Going even farther ... IBM mainframes still use EBCDIC, not ASCII. Even so, the file system (and/or network file system) drivers are the ultimate source of all such decisions.
 
1 members found this post helpful.
Old 08-12-2012, 06:12 PM   #25
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Not just the file system. Try "ln -L" or "sftp -p 2222 host"...
 
Old 08-12-2012, 07:12 PM   #26
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
You guys are blowing my mind. I am completely lost. Impressed, but lost.
 
Old 08-13-2012, 05:17 AM   #27
dobie2564
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by taylorkh View Post
An interesting thread. I wonder though why the OS on a REAL computer (IBM Mainframe) is upper case only? At least that has been my experience with MVS. It gets really upset if you ftp a file from a PC to a pds and end up with a mixed case name. Or if you get some mixed case text in a jcl member. Of course everything is stored as EBSIDC but that is another story.

Ken
The reason that IBM mainframe operating systems (VM, MVS, TSO, IMS, etc) are all case insensitive is due to their history. In the early days of computing, the vast majority of computer input came from punched cards and their very limited format required the user to work in one case. BCD and later EBCDIC are primarily punched card definitions which is why IBM mainframes are based on this standard.

These formats go back to the 1920s, well before electronic computing, when office data processing took place with information on punched cards and then large electromechanical sorters would sort the cards based on reading the punched holes. IBM rose to dominate all others in the computing field because it had a line of successful punched card systems and when electronic computers were introduced, they were careful to keep it compatible with existing equipment.

The 80 column punched card format became so persuasive that even today, many terminal emulators and of course a PC without graphics turned on all default to 80 characters/line.
 
1 members found this post helpful.
Old 08-13-2012, 10:28 AM   #28
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
... yes, and systems like Linux (and others) have to support "whatever comes."

The so-called file namespace, which is the set of allowable file-names, along with the matching-rules for determining whether a particular file's name matches the search-string given, is delegated to the file system driver. This also extends to, for example, whether or not a symbolic link is possible. Linux will match these resources to "inode numbers" for its own internal purposes, but it is specifically designed to be compatible with almost any file system (physical or network) that may come along.

Incidentally, so is Microsoft Windows. And, to a limited extent, so now is MVS (nee "z/OS"). In this way, the physical implementation of a "file system" resource is in effect abstracted away from the kernel itself. Installable driver modules are responsible not only for making the two-way connection to the resource, but also for making the "metadata" decisions (file names, directory structure, volume names) associated with that resource. "You can talk to it and use it, without specifically knowing or caring what it is or where it is, and you will be a well-behaved netizen who doesn't ask for it to do what it can't."

See e.g. https://en.wikipedia.org/wiki/Installable_File_System for information about Microsoft's implementation of this concept, which is typical.
 
Old 08-14-2012, 06:05 AM   #29
dobie2564
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
MVS really isn't an interactive operating system in the sense that most PC users are familiar with, so the paradigm of files is different. For that you would want to look at VM/CMS. VM has files of filename.type.disk. There is no concept of directories but "disk" works in a somewhat similar fashion. Interestingly VM/CMS can run guest operating systems including Linux. IBM has demonstrated a mainframe running 20,000 copies of Linux simultaneously and when a user logs onto one of those copies they are presented with the traditional linux upper/lower case filenames even thou the entire system is running in a VM.
 
1 members found this post helpful.
Old 08-14-2012, 08:06 AM   #30
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Quote:
Originally Posted by dobie2564 View Post
MVS really isn't an interactive operating system in the sense that most PC users are familiar with, so the paradigm of files is different. For that you would want to look at VM/CMS. VM has files of filename.type.disk. There is no concept of directories but "disk" works in a somewhat similar fashion. Interestingly VM/CMS can run guest operating systems including Linux. IBM has demonstrated a mainframe running 20,000 copies of Linux simultaneously and when a user logs onto one of those copies they are presented with the traditional linux upper/lower case filenames even thou the entire system is running in a VM.
Yes, and when I worked at Amdahl many decades ago, we ran UTS (a Unix variant) on that class of hardware ... no VM, no MVS ... and wow!! could that hardware haul "*" when it didn't have to push MVS around anymore.
 
  


Reply



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
I thought Linux was case-sensitive? Daravon Linux - Newbie 7 05-25-2012 10:01 AM
Copying files from case-sensitive Linux to case-insensitive Windows via CIFS? SlowCoder Linux - General 4 05-07-2008 07:03 PM
Can anyone solve this Case-Sensitive problem on Linux OS? yuvanth Linux - General 1 09-12-2007 06:17 AM
Linux case sensitive does not treat! mehjabin_25 Linux - Newbie 4 01-04-2006 07:53 AM
Why is linux case sensitive? Jestrik Linux - General 9 12-16-2003 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration