Heim >Betrieb und Instandhaltung >Betrieb und Wartung von Linux >Was bedeutet Linux RC?
linux rc ist die Abkürzung für runcom und ist auch das rc, das in „.cshrc“ oder „/etc/rc“ vorkommt. rc stammt von runcom, das in einigen Szenarien erstmals im MIT CTSS-System auftauchte. Das ausgeführte System wird ausgeführt. Mehrere in Dateien gespeicherte Befehle werden als Runcom bezeichnet, was die Abkürzung für Ausführungsbefehle ist.
Die Betriebsumgebung dieses Tutorials: Linux5.9.8-System, Dell G3-Computer.
linux rc Was bedeutet das?
Linux rc volle Bedeutung
Dies beginnt mit der prähistorischen Ära des Unix-Systems (1961-1969). Time-Sharing-System (kompatibles Time-Sharing-System), auch CTSS genannt.
(Obwohl die Funktionen dieses CTSS nicht so gut sind wie die späterer Unix-Systeme, sind sie immer älter.)
Es gibt eine Funktion zu Befehlsskripten im CTSS-System namens runcom
. runcom
。
为了致敬这个古早版本Unix系统——CTSS的runcom特性,后来的Unix系统中就用rc
作为操作系统的启动文件名。
Tips
程序语言里的Date是从1970-01-01开始的,
而前面提到的Unix的史前时代(1961-1969)还在1970年之前。
也可以侧面感受到CTSS这个系统的“辈分”之大。
rc
= RunCom
“rc” 是取自 “runcom”, 来自麻省理工学院在 1965 年发展的 CTSS系统。相关文献曾记载这一段话:“具有从档案中取出一系列命令来执行的功能;这称为 run commands
又称为 “runcom”,而这种档案又称为一个 runcom (a runcom)。”
.bashrc
bash的运行命令.vimrc
vim的运行命令.npmrc
npm的运行命令Linux中,文件名以.
开头表示为隐藏文件。
leung@wuyujin ~ % ls -al | grep rc$ -rw------- 1 leung staff 33 5 13 20:34 .npmrc -rw-r--r-- 1 leung staff 116 5 13 21:20 .yarnrc -rw-r--r-- 1 leung staff 55 6 2 20:00 .zshrc
What does rc mean in bashr, zshrc, vimrc etc?
翻译如下:
对于rc
所代表的意思,你可能会看到以下几种:
在读过这份文档之后,我更愿意认为rc
是runcom
的缩写。
rc = RunCom
就是.cshrc
或/etc/rc
中出现的那个rc
rc
来源于runcom
,首次出现于1965年的MIT CTSS系统。
在某些场景中,(我们)会执行被存储在文件中的多条命令commands
,我们称之为runcom
即运行命令run commands
的简称。
另外,这个用于存储命令的文件被称作:a runcom
。
Unix文件命名中的rc
就是来自于这样的老典故。
— Brian Kernighan & Dennis Ritchie, as told to Vicki Brown
Also ESR states that in Run-Control Files:
当然,你也可以在 Run-Control
文件中找到证据:rc
后缀一直往前追溯,会发现其实它在Unix的爷爷辈老系统——CTSS里就有了。
而在CTSS这个古早的系统中有一个命令脚本的特性叫做:runcom
。
于是早期Unix就开始使用rc
作为操作系统启动脚本的文件名,以此来追忆/致敬 CTSS runcom。
所以我认为:rc
是runcom
Um der Runcom-Funktion von CTSS, einer frühen Version des Unix-Systems, Tribut zu zollen, wurde rc
in späteren Unix-Systemen als Startdateiname des Betriebssystems verwendet.
Tipps Das Datum in der Programmiersprache beginnt am 01.01.1970,
🎜🎜Die bereits erwähnte prähistorische Ära von Unix (1961-1969) lag noch vor 1970. 🎜 Auch von der Seite spürt man die „Seniorität“ des CTSS-Systems. 🎜rc
= RunCom
🎜🎜"rc" stammt von "runcom" , aus dem 1965 am MIT entwickelten CTSS-System. In der einschlägigen Literatur wurde dieser Absatz einmal aufgezeichnet: „Es hat die Funktion, eine Reihe von Befehlen aus der Datei zur Ausführung herauszunehmen; dies wird run commands
genannt, auch „runcom“ genannt, und diese Art von Datei ist wird auch als Runcom (ein Runcom) bezeichnet /li> .vimrc
Vims laufender Befehl.npmrc
npms laufender Befehl.
beginnen, sind versteckte Dateien. 🎜🎜 🎜1.3) What does {some strange unix command name} stand for? awk = "Aho Weinberger and Kernighan" This language was named by its authors, Al Aho, Peter Weinberger and Brian Kernighan. grep = "Global Regular Expression Print" grep comes from the ed command to print all lines matching a certain pattern g/re/p where "re" is a "regular expression". fgrep = "Fixed GREP". fgrep searches for fixed strings only. The "f" does not stand for "fast" - in fact, "fgrep foobar *.c" is usually slower than "egrep foobar *.c" (Yes, this is kind of surprising. Try it.) Fgrep still has its uses though, and may be useful when searching a file for a larger number of strings than egrep can handle. egrep = "Extended GREP" egrep uses fancier regular expressions than grep. Many people use egrep all the time, since it has some more sophisticated internal algorithms than grep or fgrep, and is usually the fastest of the three programs. cat = "CATenate" catenate is an obscure word meaning "to connect in a series", which is what the "cat" command does to one or more files. Not to be confused with C/A/T, the Computer Aided Typesetter. gecos = "General Electric Comprehensive Operating Supervisor" When GE's large systems division was sold to Honeywell, Honeywell dropped the "E" from "GECOS". Unix's password file has a "pw_gecos" field. The name is a real holdover from the early days. Dennis Ritchie has reported: "Sometimes we sent printer output or batch jobs to the GCOS machine. The gcos field in the password file was a place to stash the information for the $IDENT card. Not elegant." nroff = "New ROFF" troff = "Typesetter new ROFF" These are descendants of "roff", which was a re-implementation of the Multics "runoff" program (a program that you'd use to "run off" a good copy of a document). tee = T From plumbing terminology for a T-shaped pipe splitter. bss = "Block Started by Symbol" Dennis Ritchie says: Actually the acronym (in the sense we took it up; it may have other credible etymologies) is "Block Started by Symbol." It was a pseudo-op in FAP (Fortran Assembly [-er?] Program), an assembler for the IBM 704-709-7090-7094 machines. It defined its label and set aside space for a given number of words. There was another pseudo-op, BES, "Block Ended by Symbol" that did the same except that the label was defined by the last assigned word + 1. (On these machines Fortran arrays were stored backwards in storage and were 1-origin.) The usage is reasonably appropriate, because just as with standard Unix loaders, the space assigned didn't have to be punched literally into the object deck but was represented by a count somewhere. biff = "BIFF" This command, which turns on asynchronous mail notification, was actually named after a dog at Berkeley. I can confirm the origin of biff, if you're interested. Biff was Heidi Stettner's dog, back when Heidi (and I, and Bill Joy) were all grad students at U.C. Berkeley and the early versions of BSD were being developed. Biff was popular among the residents of Evans Hall, and was known for barking at the mailman, hence the name of the command. Confirmation courtesy of Eric Cooper, Carnegie Mellon University rc (as in ".cshrc" or "/etc/rc") = "RunCom" "rc" derives from "runcom", from the MIT CTSS system, ca. 1965. '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.' Brian Kernighan & Dennis Ritchie, as told to Vicki Brown "rc" is also the name of the shell from the new Plan 9 operating system. Perl = "Practical Extraction and Report Language" Perl = "Pathologically Eclectic Rubbish Lister" The Perl language is Larry Wall's highly popular freely-available completely portable text, process, and file manipulation tool that bridges the gap between shell and C programming (or between doing it on the command line and pulling your hair out). For further information, see the Usenet newsgroup comp.lang.perl.misc. Don Libes' book "Life with Unix" contains lots more of these tidbits.ReferenzWas bedeutet rc in bashr, zshrc, vimrc usw.?🎜Was bedeutet rc in bashr, zshrc, vimrc usw.?🎜🎜🎜Übersetzt wie folgt:🎜 Für Was rc darstellt, sehen Sie möglicherweise wie folgt: 🎜
rc
Es ist die Abkürzung von runcom. 🎜🎜rc = RunCom
ist der rc
, der in .cshrc
oder /etc/rc
🎜 erscheint rc
stammt von runcom
, das erstmals 1965 im MIT CTSS-System erschien. 🎜🎜In einigen Szenarien führen (wir) mehrere Befehle commands
aus, die in der Datei gespeichert sind, die wir runcom
nennen, was bedeutet, dass wir den Befehl run Kurz für Befehle ausführen
. 🎜 Darüber hinaus heißt die zum Speichern von Befehlen verwendete Datei: a runcom
. 🎜 rc
in der Unix-Dateibenennung kommt von dieser alten Anspielung. 🎜 – Brian Kernighan und Dennis Ritchie, erzählt von Vicki Brown. Wenn man das Suffix >rc zurückverfolgt, wird man feststellen, dass es tatsächlich in CTSS, dem Urvater der Unix-Systeme, existiert. 🎜 Im alten CTSS-System gibt es eine Befehlsskriptfunktion namens: runcom
. 🎜 In den frühen Tagen von Unix wurde rc
als Dateiname des Betriebssystem-Startskripts verwendet, um an CTSS runcom zu erinnern bzw. es zu würdigen. 🎜🎜Ich denke also: rc
ist die Abkürzung für runcom
. 🎜🎜🎜🎜Unix系统的背景
1961-1969:史前时代
CTSS(Compatible Time-Sharing System,兼容分时系统),以MIT为首的开发小组,小而简单的实验室原型。
Multics(Multiplexed Information and Computing System,多路信息与计算系统),庞大而负责,不堪重负。
Unics(Uniplexed information and Computing System,单路信息与计算系统),返璞归真,走上正道。
1969-1971:创世纪
……
1.3) What does {some strange unix command name} stand for? awk = "Aho Weinberger and Kernighan" This language was named by its authors, Al Aho, Peter Weinberger and Brian Kernighan. grep = "Global Regular Expression Print" grep comes from the ed command to print all lines matching a certain pattern g/re/p where "re" is a "regular expression". fgrep = "Fixed GREP". fgrep searches for fixed strings only. The "f" does not stand for "fast" - in fact, "fgrep foobar *.c" is usually slower than "egrep foobar *.c" (Yes, this is kind of surprising. Try it.) Fgrep still has its uses though, and may be useful when searching a file for a larger number of strings than egrep can handle. egrep = "Extended GREP" egrep uses fancier regular expressions than grep. Many people use egrep all the time, since it has some more sophisticated internal algorithms than grep or fgrep, and is usually the fastest of the three programs. cat = "CATenate" catenate is an obscure word meaning "to connect in a series", which is what the "cat" command does to one or more files. Not to be confused with C/A/T, the Computer Aided Typesetter. gecos = "General Electric Comprehensive Operating Supervisor" When GE's large systems division was sold to Honeywell, Honeywell dropped the "E" from "GECOS". Unix's password file has a "pw_gecos" field. The name is a real holdover from the early days. Dennis Ritchie has reported: "Sometimes we sent printer output or batch jobs to the GCOS machine. The gcos field in the password file was a place to stash the information for the $IDENT card. Not elegant." nroff = "New ROFF" troff = "Typesetter new ROFF" These are descendants of "roff", which was a re-implementation of the Multics "runoff" program (a program that you'd use to "run off" a good copy of a document). tee = T From plumbing terminology for a T-shaped pipe splitter. bss = "Block Started by Symbol" Dennis Ritchie says: Actually the acronym (in the sense we took it up; it may have other credible etymologies) is "Block Started by Symbol." It was a pseudo-op in FAP (Fortran Assembly [-er?] Program), an assembler for the IBM 704-709-7090-7094 machines. It defined its label and set aside space for a given number of words. There was another pseudo-op, BES, "Block Ended by Symbol" that did the same except that the label was defined by the last assigned word + 1. (On these machines Fortran arrays were stored backwards in storage and were 1-origin.) The usage is reasonably appropriate, because just as with standard Unix loaders, the space assigned didn't have to be punched literally into the object deck but was represented by a count somewhere. biff = "BIFF" This command, which turns on asynchronous mail notification, was actually named after a dog at Berkeley. I can confirm the origin of biff, if you're interested. Biff was Heidi Stettner's dog, back when Heidi (and I, and Bill Joy) were all grad students at U.C. Berkeley and the early versions of BSD were being developed. Biff was popular among the residents of Evans Hall, and was known for barking at the mailman, hence the name of the command. Confirmation courtesy of Eric Cooper, Carnegie Mellon University rc (as in ".cshrc" or "/etc/rc") = "RunCom" "rc" derives from "runcom", from the MIT CTSS system, ca. 1965. '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.' Brian Kernighan & Dennis Ritchie, as told to Vicki Brown "rc" is also the name of the shell from the new Plan 9 operating system. Perl = "Practical Extraction and Report Language" Perl = "Pathologically Eclectic Rubbish Lister" The Perl language is Larry Wall's highly popular freely-available completely portable text, process, and file manipulation tool that bridges the gap between shell and C programming (or between doing it on the command line and pulling your hair out). For further information, see the Usenet newsgroup comp.lang.perl.misc. Don Libes' book "Life with Unix" contains lots more of these tidbits.
相关推荐:《Linux视频教程》
Das obige ist der detaillierte Inhalt vonWas bedeutet Linux RC?. Für weitere Informationen folgen Sie bitte anderen verwandten Artikeln auf der PHP chinesischen Website!