Last active
August 3, 2025 16:34
-
-
Save knbknb/08ea23efd3f4a2bbc54b210e9aa35b44 to your computer and use it in GitHub Desktop.
systemd: systemctl & journalctl Command Cheatsheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### systemctl and journalctl commands | |
sudo journalctl --follow --unit=docker \ | |
--since "5 days ago" --priority=warning --priority=err --no-pager | |
## create an override file | |
sudo systemctl edit docker.service | |
# will create (including subdirs): | |
# /etc/systemd/system/docker.service.d/override.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment