service
SystemFundamentalsReference onlyRun a service init script (older style)
Name: service
This command is outside what the site lets you practise (mostly distribution-specific or rarely used tools). This page describes how to use it; try it on your own Linux system.
Description
service is the older tool for managing services by running scripts in /etc/init.d/. On systemd systems it forwards requests to systemctl, so both work.
Syntax
service NAME COMMANDCommon options
| start / stop / restart / status | Common actions |
| --status-all | List every service and whether it runs |