by Alupis · 12y ago · 0 comments
Also, probably should note, file extensions are largely a Windows-based OS thing as well. On the 'Nix's, an extension isn't really needed (OK, it's not needed on Windows-based OS's either, but the OS prefers it). the "file" command will tell you all you need to know about a file without an extension. Or, you can just open it with a text editor. Or, execute it if it has execute permissions, etc.
So, it seems, the 3-character extension (or extensions at all) are really a Windows-Based OS thing.
(While we're at it, Windows-Based OS's are the only OS's I've worked with that actually require something in-front of the "."! For example, try to natively create a ".somefile" on Windows -- it will complain and not let you).
That's what he means...you can create it in various applications though.
A slightly bigger challenge is a file named CON :)
I was specifically referring to the part of the article that the author claimed that windows inherited it from MS-DOS, which inherited it from CP/M. The chain goes back farther than that -- by the time CP/M was written the 3-character file extension was well-established. In general CP/M was influenced a lot by the DEC minicomputer OSes (its "PIP" command is one obvious example)
AFAICT, UNIX never had a concept of file extensions.
In the 80s you started seeing things like "resolv.conf" appear, so they didn't stay mostly-single-character for long.
Can easily create such files by other means (saving in notepad, sublime, etc).