diff --git a/guides/linux-basics.md b/guides/linux-basics.md index da9ab3c..9e23c6b 100644 --- a/guides/linux-basics.md +++ b/guides/linux-basics.md @@ -81,3 +81,13 @@ Make sure to allow SSH before enabling the firewall, otherwise you will be locke - Deny a port: `sudo ufw deny ` - Allow a service: `sudo ufw allow ` - Deny a service: `sudo ufw deny ` + +## Service Management (Systemd) + +- Start a service: `sudo systemctl start ` +- Stop a service: `sudo systemctl stop ` +- Check the status of a service: `sudo systemctl status ` +- Restart a service: `sudo systemctl restart ` +- Enable a service (start on boot): `sudo systemctl enable ` +- Disable a service (stop on boot): `sudo systemctl disable ` +- Reload a service: `sudo systemctl reload `