当前位置: 技术问答>linux和unix
linux中rc是代表什么?
来源: 互联网 发布时间:2016-04-21
本文导语: 在linux系统中,经常看到一些文件和目录都以rc开头或结尾,如:rcxinetd,~/.bashrc等文件,rc.d和rcX.d等目录. 这个rc表示什么意思,是什么的缩写? 以前以为是reconfigure的缩写,但好像不对. | run control 。 ...
在linux系统中,经常看到一些文件和目录都以rc开头或结尾,如:rcxinetd,~/.bashrc等文件,rc.d和rcX.d等目录.
这个rc表示什么意思,是什么的缩写?
以前以为是reconfigure的缩写,但好像不对.
这个rc表示什么意思,是什么的缩写?
以前以为是reconfigure的缩写,但好像不对.
|
run control 。
Chapter 10. Configuration
Run-Control Files
Whether file or directory, convention now dictates that the location of the run-control information has the
same basename as the executable that reads it. An older convention still common among system
programs uses the executable's name with the suffix ‘rc’ for ‘run control’[99]. Thus, if you write a
program called ‘seekstuff’ that has both site-wide and user-specific configuration, an experienced Unix
user would expect to find the former at /etc/seekstuff and the latter at .seekstuff in the user's
home directory; but it would be unsurprising if the locations were /etc/seekstuffrc and
.seekstuffrc, especially if seekstuff were a system utility of some sort.
你可以在这里下载电子版
http://download.csdn.net/source/282796
Chapter 10. Configuration
Run-Control Files
Whether file or directory, convention now dictates that the location of the run-control information has the
same basename as the executable that reads it. An older convention still common among system
programs uses the executable's name with the suffix ‘rc’ for ‘run control’[99]. Thus, if you write a
program called ‘seekstuff’ that has both site-wide and user-specific configuration, an experienced Unix
user would expect to find the former at /etc/seekstuff and the latter at .seekstuff in the user's
home directory; but it would be unsurprising if the locations were /etc/seekstuffrc and
.seekstuffrc, especially if seekstuff were a system utility of some sort.
你可以在这里下载电子版
http://download.csdn.net/source/282796
|
the unix programming language-------->
rc ------> run control!!!!!!
rc ------> run control!!!!!!
|
好象是run command
|
也许是: runlevel change
可以看到 /etc/inittab里面有很多rc.N之类的? 不知道是否从这里来的
在linux中,一般将rc结尾的文件看着是script或者configuration。
good luck!
可以看到 /etc/inittab里面有很多rc.N之类的? 不知道是否从这里来的
在linux中,一般将rc结尾的文件看着是script或者configuration。
good luck!
|
resource configuration
|
在"rc file"中,这样说:
Definition: rc file: Script file containing startup instructions for an application program (or an entire operating system), usually a text file containing commands of the sort that might have been invoked manually once the system was running but are to be executed automatically each time the system starts up.
.................................
Source: Linux Guide @FirstLinux / Linux Dictionary V 0.16
http://www.tldp.org/LDP/Linux-Dictionary/html/index.html
Author: Binh Nguyen linuxfilesystem(at)yahoo(dot)com(dot)au
在TheFreeDictionary:rc file中,说到:
rc file - /R C fi:l/ [Unix: from the startup script "/etc/rc", but this is commonly believed to have been named after older scripts to "run commands"] Script file containing startup instructions for an application program (or an entire operating system), usually a text file containing commands of the sort that might have been invoked manually once the system was running but are to be executed automatically each time the system starts up. See also dot file, profile (sense 1).
Definition: rc file: Script file containing startup instructions for an application program (or an entire operating system), usually a text file containing commands of the sort that might have been invoked manually once the system was running but are to be executed automatically each time the system starts up.
.................................
Source: Linux Guide @FirstLinux / Linux Dictionary V 0.16
http://www.tldp.org/LDP/Linux-Dictionary/html/index.html
Author: Binh Nguyen linuxfilesystem(at)yahoo(dot)com(dot)au
在TheFreeDictionary:rc file中,说到:
rc file - /R C fi:l/ [Unix: from the startup script "/etc/rc", but this is commonly believed to have been named after older scripts to "run commands"] Script file containing startup instructions for an application program (or an entire operating system), usually a text file containing commands of the sort that might have been invoked manually once the system was running but are to be executed automatically each time the system starts up. See also dot file, profile (sense 1).
|
rc.d是runlevel./etc/rc[0-6s].d,例如,/etc/rc2.d/s80sendmail,是以runlevel 2启动sendmail服务
|
rc= run scripts
|
到底那个是对的,,????
|
到底那个是对的,,????
|
the art of unix programming
说的很清楚
说的很清楚