Fedora services command line restart

To restart some services of Fedora linux using command line –

apache: /etc/init.d/httpd restart
named: /etc/init.d/named restart
mysql: /etc/init.d/mysqld restart

To turn on and off firewall –

off: /etc/init.d/iptables save
/etc/init.d/iptables stop

on: /etc/init.d/iptables start

Leave a comment

Your email address will not be published. Required fields are marked *