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ć administration command. Change user passwords in a batch. chpasswd accepts input in the form of one username :password pair per line. If the -e option is not specified, password is encrypted before co znaczy.
Przykład CHKCONFIG użycie :
Jak użyć administration command. Normally started in a system startup file. Execute commands at scheduled times, as specified in users' files in /var/spool/cron . Each file shares its name with the user krzyżówka.
Przykład CHKCONFIG użycie :
Jak użyć attributes. Specific to Linux Second and Third Extended Filesystem (ext2 and ext3). Behaves similarly to symbolic chmod , using + , - , and = . mode is in the form opcode attribute . See also lsattr co to jest.
Przykład CHKCONFIG użycie :
Jak użyć shell, either interactively or on the command line. Warn if shell does not exist in /etc/shells . Specify the full path to the shell. chsh prompts for your password. Only a privileged user can change słownik.
Przykład CHKCONFIG użycie :
Jak użyć terminal N (that is, switch to /dev/ttyN ). If you have not created /dev/ttyN , it will be created when you use this command. There are keyboard shortcuts for this functionality as well. From a czym jest.