Online Linux Terminal Logo
OnlineLinuxTerminal
Système et processusCLI Manual

$systemctl

Control and inspect the systemd system and service manager.

Syntaxe de la commandePOSIX Standard
systemctl [OPTIONS] COMMAND [UNIT...]
Communauté Linux2.4k En ligne

Échangez avec des utilisateurs Linux, apprenez des commandes et téléchargez des PDF.

Essayer en direct dans le bac à sable interactif

Simulation côté client sans installation avec retour instantané.

Ouvrir dans le terminal plein écran ↗
bash — terminal

Aperçu et fonctionnement

`systemctl` is the central management tool for controlling systemd services, daemons, timers, and system states (boot targets, reboots, shutdowns) on modern Linux distributions.

Options et drapeaux courants

Flag / OptionDescription
status [service]Check running status, memory, and recent log entries of a service.
start [service]Start (activate) one or more service units.
stop [service]Stop (deactivate) one or more service units.
restart [service]Stop and then start the specified service.
enable [service]Enable service to start automatically on system boot.

Exemples pratiques du monde réel

#1Check status of nginx web server
systemctl status nginx

Inspects running state, PID, uptime, and recent journal logs for nginx.