systemctl status apache2.service" code example Example: systemctl status apache2.service journalctl | tail