Common Command Snippets in Linux

systemd systemctl # Start a service immediately systemctl start nginx.service # Stop a service immediately systemctl stop nginx.service # Restart a service systemctl restart nginx.service # Kill all child processes of a service systemctl kill nginx.service # Reload a service's configuration file systemctl reload nginx.service # Reload all modified configuration files systemctl daemon-reload # Show … Read more