linux的rc的几种解释
前言
在linux系統(tǒng)中,經(jīng)??吹揭恍┪募湍夸浂家詒c開頭或結(jié)尾,如:rcxinetd,~/.bashrc等文件,rc.d和rcX.d等目錄。
它的作用一般為:rc”是任何腳本類文件的后綴,這些腳本通常在程序的啟動階段被調(diào)用,通常是Linux系統(tǒng)啟動時。
以下是在網(wǎng)站找的幾種解釋:
1、run commands
較為普遍認可的說法:
rc?是取自?runcom, 來自麻省理工學院在 1965 年發(fā)展的 CTSS系統(tǒng)。
相關文獻曾記載這一段話: 具有從檔案中取出一系列命令來執(zhí)行的功能;這稱為 run commands 又稱為 runcom,而這種檔案又稱為一個 runcom (a runcom)。
2、run Control
這種說法是源于《The art of Unix?programming?》,它在第十章節(jié)有如下說明:rc文件是在系統(tǒng)啟動時相關的命令或定義。
Run-Control Files
A run-control file is a file of declarations or commands associated with a program that it interprets on startup. If a program has site-specific configuration shared by all users at a site, it will often have a run-control file under the?/etc?directory. (Some Unixes have an?/etc/conf?subdirectory that collects such data.)
.....
3、run configure
網(wǎng)上也有認為,rc表示的是run configure。
總結(jié)
以上是生活随笔為你收集整理的linux的rc的几种解释的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux小工具(3)之/proc目录详
- 下一篇: Linux小工具(4)之apt软件管理