📄 rc.8
字号:
.\" SCCSID: @(#)rc.8 8.2 10/3/90.TH rc 8.SH Namerc, rc.local \- command script for auto-reboot and daemons.SH Syntax.B /etc/rc.br.B /etc/rc.local.SH Description.NXR "rc command".NXR "rc.local file" "contents".NXR "bootstrap procedure" "automatic"The.PN rccommand script controls the automatic reboot and .PN rc.localis the script holding commands which are pertinent onlyto a specific site..PPWhen an automatic reboot is in progress,.PN rcis invoked with the argument.PN autobootand runs a.PN fsckwith option.PN \-pto ``preen'' all the disks of minor inconsistencies resultingfrom the last system shutdown and to check for serious inconsistenciescaused by hardware or software failure.If this auto-check and repair succeeds, then the second part of.PN rcis run..PPThe second part of.PN rc ,which is run after an auto-reboot succeeds and also if.PN rcis invoked when a single user shell terminates, starts all the daemons on the system, preserves editor filesand clears the scratch directory.PN /tmp .For further information, see .MS init 8 . The.PN rc.localcommandis executed immediately before any other commands after a successful.PN fsck .Normally, the first commands placed in the .PN rc.localfile define the machine's name, using .MS hostname 1 ,and save any possible core image that might have beengenerated as a result of a system crash, .MS savecore 8 .The latter command is included in the .PN rc.localfile because the directory in which core dumps are savedis usually site specific..SH See Alsoinit(8), reboot(8), savecore(8)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -