CentOS / Linux useful commands

'chkconfig --list' shows services and at what level they run
'chkconfig --levels 345 sendmail on' to have sendmail start at boot for example.
'iptables -L' prints current iptables ruleset add '-n' or '-n -v' for more details
'service sendmail restart' restarts sendmail for example
'service --status-all' is useful

No votes yet

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.