# Usefull linux commands ### systemctl stuff **Enable autostart of service** ```bash sudo systemctl enable SERVICENAME ``` If you wamt to start and enable it in a oneliner, here it is. ```bash sudo systemctl enable --now SERVICENAME ``` **Disable autostart of service** ```bash sudo systemctl disable SERVICENAME ``` **List all services** ```bash sudo systemctl list-units --type service ``` ### open-rc stuff **Enable autostart of service** ```bash sudo rc-update add SERVICENAME ```