Say hello to systemctl command
Use this command to control the systemd system and act as a service manager.
CentOS 7 / RHEL 7 get status of network service
sudo systemctl status network.service
OR
sudo systemctl status network
Sample outputs:
Fig.01: CentOS / RHEL 7 Networking Service Status Command
CentOS 7 / RHEL 7 restart network service
sudo systemctl restart network.service
OR
sudo systemctl restart network
CentOS 7 / RHEL 7 start network service
sudo systemctl start network.service
OR
sudo systemctl start network
CentOS 7 / RHEL 7 stop network service
sudo systemctl stop network.service
OR
sudo systemctl stop network