本篇內(nèi)容介紹了“l(fā)inux rc指的是什么意思”的有關(guān)知識(shí),在實(shí)際案例的操作過程中,不少人都會(huì)遇到這樣的困境,接下來(lái)就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!
10年積累的網(wǎng)站設(shè)計(jì)制作、做網(wǎng)站經(jīng)驗(yàn),可以快速應(yīng)對(duì)客戶對(duì)網(wǎng)站的新想法和需求。提供各種問題對(duì)應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認(rèn)識(shí)你,你也不認(rèn)識(shí)我。但先網(wǎng)站制作后付款的網(wǎng)站建設(shè)流程,更有金平免費(fèi)網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。
linux rc是runcomm的縮寫,即名詞“run command”(運(yùn)行命令)的簡(jiǎn)寫;rc是任何腳本類文件的后綴,這些腳本通常在程序的啟動(dòng)階段被調(diào)用,通常是Linux系統(tǒng)啟動(dòng)時(shí),比如“/etc/rc”是Linux啟動(dòng)的主腳本,而“.bashrc”是當(dāng)Linux的bash shell啟動(dòng)后所運(yùn)行的腳本。
Linux中rc的含義
在Linux中,最為常用的縮略語(yǔ)也許是“rc”,它是“runcomm”的縮寫――即名詞“run command”(運(yùn)行命令)的簡(jiǎn)寫。rc”是任何腳本類文件的后綴,這些腳本通常在程序的啟動(dòng)階段被調(diào)用,通常是Linux系統(tǒng)啟動(dòng)時(shí)。如/etc/rc(連接到/etc/rc.d/rc)是Linux啟動(dòng)的主腳本,而.bashrc是當(dāng)Linux的bash shell啟動(dòng)后所運(yùn)行的腳本。
.bashrc的前綴“.”是一個(gè)命名標(biāo)準(zhǔn),它被設(shè)計(jì)用來(lái)在用戶文件中隱藏那些用戶指定的特殊文件;“l(fā)s”命令默認(rèn)情況下不會(huì)列出此類文件,“rm”默認(rèn)情況下也不會(huì)刪除它們。許多程序在啟動(dòng)時(shí),都需要“rc”后綴的初始文件或配置文件,這對(duì)于Unix的文件系統(tǒng)視圖來(lái)說,沒有什么神秘的。
[root@minimal test-rm]# pwd /home/huage/test-rm [root@minimal test-rm]# ls -Al total 0 -rw-r--r--. 1 root root 0 Apr 2 11:50 001 -rw-r--r--. 1 root root 0 Apr 2 11:50 002 -rw-r--r--. 1 root root 0 Apr 2 11:43 .003 -rw-r--r--. 1 root root 0 Apr 2 11:43 .004 [root@minimal test-rm]# rm -rf * [root@minimal test-rm]# ls -Al total 0 -rw-r--r--. 1 root root 0 Apr 2 11:43 .003 -rw-r--r--. 1 root root 0 Apr 2 11:43 .004
"rc" (像是 ".cshrc" 或 "/etc/rc" 中的 rc 這兩個(gè)字母) = "RunCom"
"rc" 是取自 "runcom", 來(lái)自麻省理工學(xué)院在 1965 年發(fā)展的 CTSS系統(tǒng)。相關(guān)文獻(xiàn)曾記載這一段話:"具有從檔案中取出一系列命令來(lái)執(zhí)行的功能;這稱為 "run commands" 又稱為 "runcom",而這種檔案又稱為一個(gè) runcom (a runcom)。"
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". 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.' 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.
“l(fā)inux rc指的是什么意思”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識(shí)可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!