sudo journalctl show latest line code example Example: systemctl logs journalctl -u service-name.service