Start Stop And Check The Status Of Network Services

General Information

General service management.

Start a Network Service

systemctl start httpd

Stop a Network Service

systemctl stop httpd

Check to see if the service is active

systemctl is-active httpd

Check Status of a Network Service

systemctl status httpd

Check if the service is enabled at boot

systemctl is-enabled httpd

Enable at boot

systemctl enable httpd

Prevent a service from starting

systemctl mask httpd

Undo preventing a service from starting

systemctl unmask httpd

  • linux_wiki/start_stop_and_check_the_status_of_network_services.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)