Speaktech.in

What are the rc.d directories

What are the rc.d directories?

Below list of directories in /etc/rc.d and represents  run levels with different modes of operating system

  • /etc/rc.d/rc0.d    –    0   –  HALT or shutdown the system –   All symlinks with K extensions must go here
  • /etc/rc.d/rc1.d   –     1   –  Single mode system
  • /etc/rc.d/rc2.d  –      2   –   Multi user mode with out networking
  • ,/etc/rc.d/rc3.d  –     3   –   Multi user mode with networking enabled. most of the all startup scripts will go here.
  • /etc/rc.d/rc4.d   –     4  –    Not used
  • /etc/rc.d/rc5.d   –     5  –    GUI enabled and starts system with normal mode. Add startup scripts in this.
  • /etc/rc.d/rc6.d   –     6  –  Reboots the system and most scripts start with K level goes into this folder to kill the process