linux_wiki:start_stop_and_check_the_status_of_network_services

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_wiki:start_stop_and_check_the_status_of_network_services [2016/03/03 21:10]
billdozor
linux_wiki:start_stop_and_check_the_status_of_network_services [2019/05/25 23:50]
Line 1: Line 1:
-====== Start Stop And Check The Status Of Network Services ====== 
- 
-**General Information** 
- 
-General service management.  
- 
----- 
- 
-Start a Network Service 
-<code bash> 
-systemctl start httpd 
-</code> 
- 
-\\ 
-Stop a Network Service 
-<code bash> 
-systemctl stop httpd 
-</code> 
- 
-\\ 
-Check to see if the service is active 
-<code bash> 
-systemctl is-active httpd 
-</code> 
- 
-\\ 
-Check Status of a Network Service 
-<code bash> 
-systemctl status httpd 
-</code> 
- 
-\\ 
-Check if the service is enabled at boot 
-<code bash> 
-systemctl is-enabled httpd 
-</code> 
- 
-\\ 
-Enable at boot 
-<code bash> 
-systemctl enable httpd 
-</code> 
- 
-\\ 
-Prevent a service from starting 
-<code bash> 
-systemctl mask httpd 
-</code> 
- 
-\\ 
-Undo preventing a service from starting 
-<code bash> 
-systemctl unmask httpd 
-</code> 
- 
----- 
- 
  
  • linux_wiki/start_stop_and_check_the_status_of_network_services.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)