Rc: Difference between revisions

From Hackepedia
Jump to navigationJump to search
m run command
 
mNo edit summary
 
Line 1: Line 1:
rc stands for runcommand.  Historically UNIX boots from a file called /etc/rc, here it mounts filesystems, and starts services.
rc stands for runcommand.  Historically UNIX boots from a file called /etc/rc which gets run from the process [[init]] , here it mounts filesystems, and starts services.


In Linux RHEL there is a /etc/rc.d/rcX.d directory which allows one to start and kill services at whatever runlevel the system runs at.  If you boot into runlevel 3 then this would be /etc/rc.d/rc3.d, the file is linked from /etc/rc.d/init.d where the rc script resides.
In Linux RHEL there is a /etc/rc.d/rcX.d directory which allows one to start and kill services at whatever runlevel the system runs at.  If you boot into runlevel 3 then this would be /etc/rc.d/rc3.d, the file is linked from /etc/rc.d/init.d where the rc script resides.

Latest revision as of 12:57, 29 February 2008

rc stands for runcommand. Historically UNIX boots from a file called /etc/rc which gets run from the process init , here it mounts filesystems, and starts services.

In Linux RHEL there is a /etc/rc.d/rcX.d directory which allows one to start and kill services at whatever runlevel the system runs at. If you boot into runlevel 3 then this would be /etc/rc.d/rc3.d, the file is linked from /etc/rc.d/init.d where the rc script resides.