Jump to content

RUNCOM

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 2606:f180:1:210:210:484b:18f7:c398 (talk) at 14:33, 19 October 2017 (www.example.com). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In the context of Unix-like systems, the term rc stands for the phrase "run commands". It is used for any file that contains startup information for a command. It is believed to have originated somewhere in 1965 from a runcom facility from the MIT Compatible Time-Sharing System (CTSS).[1]

From Brian Kernighan and Dennis Ritchie:[2]

There was a facility that would execute a bunch of commands stored in a file; it was called runcom for "run commands", and the file began to be called "a runcom". rc in Unix is a fossil from that usage.

Tom Van Vleck, a Multics engineer, has also reminisced about the extension rc: "The idea of having the command processing shell be an ordinary slave program came from the Multics design, and a predecessor program on CTSS by Louis Pouzin called RUNCOM, the source of the '.rc' suffix on some Unix configuration files."[3]

This is also the origin of the name of the Plan 9 from Bell Labs shell by Tom Duff, the rc shell. It is called "rc" because the main job of a shell is to "run commands".

While not historically precise, rc may also be expanded 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. In The Art of Unix Programming, Eric S. Raymond consistently refers to rc files as "run-control" files.

See also

References

Run command

  1. ^ Pouzin, Louis (25 November 2000). "The Origin of the Shell". Multicians. Retrieved 31 July 2017.
  2. ^ "In Unix, what do some obscurely named commands stand for?". IT Knowledge Base. Indiana University. Retrieved 2009-04-20.
  3. ^ "Unix and Multics". Retrieved 2009-04-20.