Gil*_*il' 244
它代表“运行命令”。
这来自MIT的CTSS(兼容分时系统)和Multics,其中命令处理 shell 将是一个普通程序的想法起源于此。CTSS 有一个名为 RUNCOM(用于“运行命令”)的程序,一个脚本在 Unix 起源的社区中被称为“a runcom”,导致文件扩展名.rc和rc缩写。
rc 作为任何命令列表的名称卡住。
Ala*_*tko 45
它代表“运行命令”。
来自维基百科:
术语 rc 代表短语“运行命令”。它用于任何包含命令启动信息的文件。据信,它起源于 1965 年的某个地方,来自麻省理工学院兼容分时系统 (CTSS) 的一个 runcom 设施。
来自 Brian Kernighan 和 Dennis Ritchie:“有一种工具可以执行存储在文件中的一堆命令;它被称为 runcom 表示‘运行命令’,并且该文件开始被称为‘a runcom’。Unix 中的 rc 是那个用法的化石。”
Multics 工程师 Tom Van Vleck 也回忆起扩展 rc:“让命令处理 shell 成为普通从程序的想法来自 Multics 设计,Louis Pouzin 在 CTSS 上的前身程序称为 RUNCOM,来源某些 Unix 配置文件上的“.rc”后缀。”
这也是汤姆·达夫 (Tom Duff) 的贝尔实验室 shell 中的 Plan 9 名称的由来,即 rc shell。之所以称为“rc”,是因为 shell 的主要工作是“运行命令”。
虽然在历史上并不精确,但 rc 也可以扩展为“运行控制”,因为 rc 文件控制程序的运行方式。例如,编辑器 Vim 查找并读取 .vimrc 文件的内容以确定其初始配置。在The Art Of Unix Programming 中,Eric S. Raymond 始终将 rc 文件称为“运行控制”文件。
小智 10
来自Ask Ubuntu上的djeikyb:
我听说
- 运行命令
- 资源控制
- 运行控制
- 运行时配置
就个人而言,我会选择运行控制,因为 ESR 是这么说的。
http://www.catb.org/~esr/writings/taoup/html/ch10s03.html
他的脚注说:
Run Code Online (Sandbox Code Playgroud)The ‘rc’ suffix goes back to Unix's grandparent, CTSS. It had a command-script feature called "runcom". Early Unixes used ‘rc’ for the name of the operating system's boot script, as a tribute to CTSS runcom.维基百科选择“运行命令”作为默认的长格式,但承认上下文应该决定词的选择。
Run Code Online (Sandbox Code Playgroud)While not historically precise, rc may also be pronou- nced as "run control", because an rc file controls how a program runs. For instance, the editor Vim looks for and reads the contents of the .vimrc file to determine its initial configuration. The most sensible pronunci- ation depends on the function of the file: to start something up, or to control how something starts up.
| 归档时间: |
|
| 查看次数: |
86951 次 |
| 最近记录: |