In reading some the questions I find some commands I am not familiar with. I will run a man page on the command and reference the other questions entry to get a better understanding of the command. One was about using chkconfig
. Sometimes the command line I reference has a switch that is not referenced in the man page. My question is am I missing something or is there an additional set of information that references more than the man page?
Here is an example:
chkconfig --level 3 squid off
--level
is not listed in the man page. Using the man I would've used chkconfig --edit
and worked it that way. Clearly using --level
would be the better choice in this instance but it is not listed as a choice in the man page.
Best Answer
Sometimes you can find more help with
chkconfig --help
,info chkconfig
, orapropos chkconfig
.On this, if you compare the man page for chkconfig on Ubuntu with any other, you'll see that the --level switch seems to have been replaced with the --set switch. While chkconfig on Ubuntu may still use the --level switch, it is not given in the man page, or it is an alias to the --set switch. (The Ubuntu-native equivalent is the
update-rc.d
command.)