service name actionArguments explained
- Options adjust output or behavior.
- Arguments name the files, services, hosts, or values the command should work with.
Common examples
service ssh statusShows SSH service status through the legacy interface.
sudo service nginx restartRestarts nginx where service wrappers are available.
| Field | Details |
|---|---|
| Command | service |
| Category | Services and System Control |
| Primary use | Controls services through legacy init wrappers. |
| Syntax | service name action |