Some scripts stored in the init. d directory are generally startup scripts for some services set in Linux.
The system has installed a lot of services, and there are a lot of corresponding scripts.
Run these scripts to start, stop, and restart these services.
1. The meanings of kxx or sxx contained in front of these linked files:
Kill a service with K, and s indicates start.
For example, the file ls/etc/init. d/s11_udev # s11_udev will automatically execute the command to start the udev service at startup.
2. Functions of numbers following K and S:
It is used to sort the scripts, that is, to determine the execution sequence of these scripts. If the values are small, the scripts are executed first, and the scripts are executed after the values are large. These execution sequence is very important !!!
For example, to start the apache service, you must configure the network interface first.
File definition in the init. d directory