System & ProzesseCLI Manual
$systemctl
Control and inspect the systemd system and service manager.
BefehlssyntaxPOSIX Standard
systemctl [OPTIONS] COMMAND [UNIT...]Live im interaktiven Terminal ausprobieren
Client-seitige Simulation ohne Installation mit sofortigem Feedback.
bash — terminal
AST Sandbox (Free)
Überblick & Funktionsweise
`systemctl` is the central management tool for controlling systemd services, daemons, timers, and system states (boot targets, reboots, shutdowns) on modern Linux distributions.
Wichtige Optionen und Flags
| Flag / Option | Description |
|---|---|
| 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. |
Praktische Anwendungsbeispiele
#1Check status of nginx web server
systemctl status nginxInspects running state, PID, uptime, and recent journal logs for nginx.
Verwandte Linux-Befehle
$psSystem & Prozesse
Momentaufnahme der aktuell ausgeführten Systemprozesse anzeigen.
$topSystem & Prozesse
Display real-time Linux processes and system resource utilization.
$htopSystem & Prozesse
Interactive process viewer with colorful CPU meters and mouse support.
$killSystem & Prozesse
Send termination or control signals to processes by PID.
$whoamiSystem & Prozesse
Print the effective username associated with the current shell session.
$dateSystem & Prozesse
Display or set system date and time.