Co robi CHKCONFIG użycie. Konsola chkconfig manages which services will run in a specified runlevel.

Czy przydatne?

Polecenie chkconfig

Wykonanie, użycie: System administration command. Manipulate symbolic links in the /etc/rc.d/rc[0-6] .d directories. chkconfig manages which services will run in a specified runlevel. Valid flags are on, off, or reset to reset the service to defaults given in its initialization script in /etc/rc.d/init.d. To specify defaults in an standard initialization script, add a comment line to the script beginning with chkconfig: followed by the runlevels in which the service should run, and the start and kill priority numbers to assign—e.g., chkconfig: 2345 85 15

Opcje wykonania chkconfig w konsoli

--add service

Create a start or kill symbolic link in every runlevel for the specified service according to default behavior specified in the service's initialization script.

--del service

Remove entries for specified service from all runlevels.

--level numbers

Specify by number the runlevels to change. Provide numbers as a numeric string: e.g., 016 for levels 0, 1 and 6. Use this to override specified defaults.

--list [service]

Print whether the specified service is on or off in each level. If no service is specified, print runlevel information for all services managed by chkconfig.

Przykłady chkconfig działanie w Słownik polecenie C

Przykład CHKCONFIG użycie :
Jak użyć Change the group of one or more files to newgroup . newgroup is either a group ID number or a group name located in /etc/group . Only the owner of a file or a privileged user may change the group co znaczy.
Przykład CHKCONFIG użycie :
Jak użyć ownership of one or more files to newowner . newowner is either a user ID number or a login name located in /etc/passwd . chown also accepts users in the form newowner :newgroup or newowner.newgroup krzyżówka.
Przykład CHKCONFIG użycie :
Jak użyć administration command. Partition a hard disk using a full-screen display. Normally, device will be /dev/hda , /dev/hdb , /dev/sda , /dev/sdb , /dev/hdc , /dev/hdd , and so on; the default is the co to jest.
Przykład CHKCONFIG użycie :
Jak użyć specified C++ or Java function name symbol , or read and decode symbols from standard input if no symbol is given. This command reverses the name mangling used by C++ and Java compilers to support słownik.
Przykład CHKCONFIG użycie :
Jak użyć file2 . Use standard input if file1 is - or missing. This command is normally used for comparing binary files, although files can be of any type. (See also diff .) skip1 and skip2 are optional czym jest.