Hacker News new | past | comments | ask | show | jobs | submit login

The real question is: why not just suck it up and include that "ou"?



Your comment reminded me of the classic Ken Thompson quote:

>Ken Thompson was once asked what he would do differently if he were redesigning the UNIX system. His reply: "I'd spell creat with an e."

There was definitely a mentality at this time that symbols should be short. Probably partly because of the low resolution terminals of the time, and especially teletypes but also maybe because of different practices and a different ecosystem. That's how we ended up with /usr instead of /user and /mnt instead of /mount.


A footnote in Rochkind's Advanced UNIX Programming is that they could add `lseek` in addition to `seek` because they'd saved a character in `creat`


I believe its more that the original <something> only had 5 char max ids.

So we get fcntl and ioctl -- two different shortenings of `control` !


One of the original limits was 6 significant initial characters for extern C identifiers - even in 1980s, this was still prevalent enough that ISO C90 codified it. The easiest way to conform is to ensure that you don't have any function names longer than that. I believe this is why there are so many names like "strcpy" and "tmpnam" in the C standard library. Later additions are often not quite so laconic - e.g. it's "tmpfile", not "tmpfil".

And then many Unix shell utilities are themselves counterparts of the corresponding C APIs - e.g. "chown". It stands to reason that they'd have identical names; but in doing so, they would also set a precedent for that kind of shortening in general. So if you already have "chown", then why not "chgrp"? And if you have "chgrp", then you'd probably want "newgrp" rather than "newgroup".


usr stands for UNIX system resources


Backronym.

Home directories were originally stored in /usr, as are another user programs

“ In particular, in our own version of the system, there is a directory "/usr" which contains all user's directories, and which is stored on a relatively large, but slow moving head disk, while the othe files are on the fast but small fixed-head disk. “


"Referer" stands for "referrer".


creat makes me think of creatine, and given the topic, brogrammers.


Are we sure he didn't mean "cret" ?


Not sure if it was actually relevant at the time of Unix v6, but Brian Kernighan writes in his memoir that "Arguably, one reason why many commands on Unix are short is that it took considerable physical force to type on a Model 33, and printing was slow. [10 characters/second]"


Well then you get newgourp which makes no sense at all.


Because the nubs of it matter. The "ou" does not.


Wait, nly th nbs f t mtter?


Y

https://news.ycombinator.com/item?id=24740860

Funny story:

I worked with some sales people in a pre-sales role. This came up during prep for a presentation. A couple of us were on the command line on the projector. There was the usual chatter about getting the magic incantations right, and how come nothing is fully spelled out, etc...

Two of the women on the team brought up middle school notes and how they would often leave a lot out.

When people are familiar, there is a shared mini culture in play. Slang, common expression.

They would use first letters only, with the odd fully spelled out words here and there. Sort of a game, how well do you know your friends?

"Haven't you ever done that?"

"Of course not."

"Yeah, boys."

"It's fun"

And of course we started to play this silly game at work.

NH!

BRT

TY

YAW

YATB!

Soon, paragraphs became sentences.

Turns out a whole lot can be said this way and how well it is received is a direct function of how closely anyone reading are to the people exchanging the messages.

And it worked. Anyone playing got a lot closer to others also playing.

A fun friendship lark.

All that *nix stuff works the same way. Culture, familiarity...

Never thought about it that way myself, until that workplace word play happened.

There is this too:

https://www.snopes.com/fact-check/can-you-raed-tihs/

The same sort of mapping to meaning seems to happen with shortened commands. It is all just lean in a way that means less work for basically the same outcome.


lol


*nix people are funny


Indeed. Think lean.

Frankly, I always found the mnemonic association helpful. My mind fills in the blanks, which helps with memory.

Also typing. It is nice to type less.


I find the move to make one space after a period equally funny, BTW.

Every time I abbreviate something on mobile, I see the next character after a space go to capitalized mode and wonder how anyone expected the parser to differentiate that from end of sentence.

Reads fine, but input is broken now...


Why not cgroup like cd? It is not new




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: