How to use Systemctl Linux | Master systemctl

Опубликовано: 27 Февраль 2026
на канале: Cyber Samurai
357
11

🔥 Dive into "Mastering Systemctl Linux"! Discover must-know flags! 💻

HELP
systemctl --help

FILTERS
--type=help
--state=help

Commands
systemctl status service
systemctl status service --full

systemctl list-unit-files
systemctl list-unitfiles --type=running

systemctl start service
systemctl stop service
systemctl restart service
systemctl mask service
systemctl unmask service

systemctl cat service #high level info
systemctl show service #low level info

Systemctl list-dependencies ssh
Systemctl list-dependencies ssh --plain

Systemctl list-dependencies service

Systemctl list-paths #paths where services can be run
systemctl list-sockets #listening ports
systemctl list-timers #schedule tasks
systemctl list-automounts #automount locations
systemctl list-machines #virtual machines, dockers
systemctl list-jobs # background jobs, service jobs


cd /usr/lib/systemd/system # user services
/etc/systemd/system/ # system services

systemctl whoami PID


sysetemctl is-system-running

Systemctl list-paths #paths where services can be run
systemctl list-sockets #listening ports
systemctl list-timers #schedule tasks
systemctl list-automounts #automount locations
systemctl list-machines #virtual machines, dockers
systemctl list-jobs # background jobs, service jobs