GNU/Linux Command – CHKCONFIG

chkconfig — Update/Show runlevel information for system services.

Summary:

‘chkconfig’ provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories. A runlevel is a software configuration of the system which allows only a selected group of processes to exist (man init).

Examples:
$ chkconfig --list -- List runlevel info for all system services. $ chkconfig --list xinetd -- List runlevel info of xinetd service. # chkconfig --add newser -- Add a new service for management. # chkconfig --del oldser -- Remove this services symbolic links from all rc[0-6].d Dirs. # chkconfig --level 35 xinetd on -- Start the xinetd service only in runlevel 3 and 5.
Read: man chkconfig

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: