Fix - sudo: systemctl: command not found


# sudo systemctl status apache2

sudo: systemctl: command not found
Fix:

Make sure you have systemd package installed on your device, if not then run the below apt-get command to install it,

# sudo apt-get install systemd


⛏️ You do not need to use sudo if you are logged in as root.

How to install systemd to fix systemctl command not found error
How to install systemd to fix systemctl command not found error

Top Hashtags:

Advertisements

Advertisements




Advertisements