How do i just show the running status of a service on linux
-
In most recent linux versions the service command has been scripted to
work with systemd, efffectively just calling systemd functionality$ systemctl is-active docker active
This can be useful in scripts, rather than using the longer status option.
© Lightnetics 2024