# 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
More Posts related to Ubuntu,
- Fix: Ubuntu (Linux) - bash: sudo: command not found error
- Quick steps to install Nginx on Ubuntu Linux
- Add new user in Ubuntu Linux using Terminal Command
- How to know current Ubuntu Linux version via terminal command
- How to stop/start/restart apache server using command [Ubuntu]
- Fix - sudo: systemctl: command not found
- How to install zsh shell on Ubuntu
- [Fix] Ubuntu E: Unable to locate package sudo error
- Quickly install Apache Server on Ubuntu Linux
- Install specific JRE on Ubuntu using apt
- Fix Ubuntu /bin/sh: 1: zsh: not found error
More Posts:
- Right Align Text in Bootstrap framework - Bootstrap
- How to remove app from Dock when closed [macOS Big Sur] - MacOS
- Installing Native Chrome Browser App on M1 Mac Device - Chrome
- Fix java.net.ProtocolException: Invalid HTTP method - Java
- Android Studio Error: Default Activity not found - Android-Studio