restart network centos 8 code example Example: restart bind centos 8 /etc/init.d/named start /etc/init.d/named stop /etc/init.d/named restart