linux rc指的是什么意思
linux rc是runcomm的缩写,即名词“run command”(运行命令)的简写;rc是任何脚本类文件的后缀,这些脚本通常在程序的启动阶段被调用,通常是Linux系统启动时,比如“/etc/rc”是Linux启动的主脚本,而“.bashrc”是当Linux的bash shell启动后所运行的脚本。
Linux中rc的含义
在Linux中,最为常用的缩略语也许是“rc”,它是“runcomm”的缩写――即名词“run command”(运行命令)的简写。rc”是任何脚本类文件的后缀,这些脚本通常在程序的启动阶段被调用,通常是Linux系统启动时。如/etc/rc(连接到/etc/rc.d/rc)是Linux启动的主脚本,而.bashrc是当Linux的bash shell启动后所运行的脚本。
.bashrc的前缀“.”是一个命名标准,它被设计用来在用户文件中隐藏那些用户指定的特殊文件; “ls”命令默认情况下不会列出此类文件,“rm”默认情况下也不会删除它们。许多程序在启动时,都需要“rc”后缀的初始文件或配置文件,这对于Unix的文件系统视图来说,没有什么神秘的。
[root@minimaltest-rm]#pwd /home/huage/test-rm [root@minimaltest-rm]#ls-Al total0 -rw-r--r--.1rootroot0Apr211:50001 -rw-r--r--.1rootroot0Apr211:50002 -rw-r--r--.1rootroot0Apr211:43.003 -rw-r--r--.1rootroot0Apr211:43.004 [root@minimaltest-rm]#rm-rf* [root@minimaltest-rm]#ls-Al total0 -rw-r--r--.1rootroot0Apr211:43.003 -rw-r--r--.1rootroot0Apr211:43.004
"rc" (像是 ".cshrc" 或 "/etc/rc" 中的 rc 这两个字母) = "RunCom"
"rc" 是取自 "runcom", 来自麻省理工学院在 1965 年发展的 CTSS系统。相关文献曾记载这一段话:"具有从档案中取出一系列命令来执行的功能;这称为 "run commands" 又称为 "runcom",而这种档案又称为一个 runcom (a runcom)。"
awk="AhoWeinbergerandKernighan" Thislanguagewasnamedbyitsauthors,AlAho,PeterWeinbergerandBrianKernighan. grep="GlobalRegularExpressionPrint" grepcomesfromtheedcommandtoprintalllinesmatchingacertainpatterng/re/pwhere"re"isa"regularexpression". rc(asin".cshrc"or"/etc/rc")="RunCom" "rc"derivesfrom"runcom",fromtheMITCTSSsystem,ca.1965.'Therewasafacilitythatwouldexecuteabunchofcommandsstoredinafile; itwascalled"runcom"for"runcommands",andthefilebegantobecalled"aruncom.""rc"inUnixisafossilfromthatusage.' Perl="PracticalExtractionandReportLanguage" Perl="PathologicallyEclecticRubbishLister" ThePerllanguageisLarryWall'shighlypopularfreely-availablecompletelyportabletext,process,andfilemanipulationtoolthatbridgesthegapbetweenshellandCprogramming(orbetweendoingitonthecommandlineandpullingyourhairout).Forfurtherinformation,seetheUsenetnewsgroupcomp.lang.perl.misc.
“linux rc指的是什么意思”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注网站,小编将为大家输出更多高质量的实用文章!
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: linux rc指的是什么意思
本文地址: https://pptw.com/jishu/7737.html