by iambvk · 1y ago · 0 comments
So, systemd change is a pain for me.
show-logs() { journalctl -u "$1" }
show-logs nginx
(Not that I think journalctl -u even needs an alias tbh but if you want it you can have it)Better to spend a minute searching for a command in a file than to waste an hour recreating it.