Online Linux Terminal Logo
OnlineLinuxTerminal
Система и процессыCLI Manual

$systemctl

Control and inspect the systemd system and service manager.

Синтаксис командыPOSIX Standard
systemctl [OPTIONS] COMMAND [UNIT...]
Сообщество Linux2.4k Онлайн

Общайтесь с пользователями Linux, учите команды и скачивайте шпаргалки.

Попробуйте в интерактивной песочнице

Клиентская симуляция без установки с мгновенным результатом.

Открыть в полноэкранном терминале ↗
bash — terminal

Обзор и принцип работы

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

Основные флаги и параметры команды

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.

Практические примеры использования

#1Check status of nginx web server
systemctl status nginx

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