linux命令的词源 [英] Etymology of linux commands

查看:87
本文介绍了linux命令的词源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是为了娱乐...我倾向于通过整天寻找偶然的难题来保持警觉.我喜欢linux的一件事是,它体现出了无止尽的聪明,从优雅的简洁性一直到其手册页中的注释.

Just for fun ... I tend to keep myself alert by looking for serendipitous puzzles throughout the day. One of the things I love about linux is the never-ending amount of cleverness it embodies, from its elegant simplicity all the way to the comments in its manual pages.

您能否阐明指示新命令命名方式的不成文规则,或提供一些常见命令背后的历史记录?普通linux发行版中缺少什么基本命令-它会做什么,以及您将其命名为什么?

示例:

  • cat用于分类文件.在某些发行版中,它已被dog取代.
  • ssh提供了一个安全的外壳,但这并不是巧合,它只是乞求读作"ssssshhhhh!"
  • cat is used to catenate files. It has been superseded by dog in some distros.
  • ssh provides a secure shell, but it can't be a coincidence that it just begs to be pronounced "ssssshhhhh!"

奖金难题:我们的长期客户之一是MCI,其送货地址是1101 SummitAve.现在,MCI是一家大公司,可能可以选择任何地址...所以为什么是1101?令人惊讶的是,我从来没有遇到过知道这个答案的MCI员工...但是那时他们还没有SO!

Bonus Puzzle: One of our long-time customers was MCI, and their shipping address was 1101 Summit Ave. Now, MCI was a large company and probably could have chosen any address ... so why 1101? Amazingly, I've never come across an MCI employee who knew this answer ... but they didn't have SO back then!

在掌握之前:请不要简单地列出命令!我正在寻找以上斜体中问题的答案.谢谢!

Before this gets out of hand: please do not simply list commands! I'm looking for answers to the questions in italics above. Thanks!

推荐答案

一个笑话,但引用自 http://www.mindspring.com/~blackhart/requium.html :

我只能想出一种创建Unix命令名称的算法:想一个好的英文单词来描述您想做什么,然后想一个晦涩的近义或部分同义词,丢掉所有元音,任意缩短剩下的元音,然后,最后,作为有识字的程序员的p脚,也许重新插入其中一个丢失的元音.

I have only been able to come up with one algorithm for creating Unix command names: think of a good English word to describe what you want to do, then think of an obscure near- or partial-synonym, throw away all the vowels, arbitrarily shorten what's left, and then, finally, as a sop to the literate programmer, maybe reinsert one of the missing vowels.

这篇关于linux命令的词源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆