# To start a service: sudo systemctl start service_name.service # Explanation: # This command is used to start a specific service. Replace "service_name.service" with the name of the service you want to start. # To stop a service: sudo systemctl stop service_name.service # Explanation: # This command stops a running service. Replace "service_name.service" with the name of the service you wish to stop. # To enable a service to start at boot: sudo systemctl enable service_name.service # Explanation: # This command enables a service to be started at boot time. Replace "service_name.service" with the name of the service you want to enable. # To disable a service from starting at boot: sudo systemctl disable service_name.service # Explanation: # This command disables a service from starting at boot time. Replace "service_name.service" with the name of the service you wish to disable. # To check the status of a service: sudo systemctl status service_name.service # Explanation: # This command displays the current status of a service, including whether it is running or stopped. Replace "service_name.service" with the name of the service you are interested in. # To reload the service configuration: sudo systemctl reload service_name.service # Explanation: # This command reloads the configuration of a service without interrupting its operation. It's useful for applying configuration changes. Replace "service_name.service" with the name of the service you wish to reload. # To restart a service: sudo systemctl restart service_name.service # Explanation: # This command stops and then starts a service. It's useful for applying changes or refreshing the service. Replace "service_name.service" with the name of the service you wish to restart.