News for hackers. Stuff that matters.
Re:Show HN: Interactive systemd (a better way to work with s... by BenjiWiebe on Sunday January 19, 2025 @09:05AM (#42757059)
When I'm really working with a service and get tired of typing sudo systemctl restart or status all the time, I'll just do a quick alias or two right then and there.

alias s=sudo systemctl status alias r=sudo systemctl restart

And if I'm only working with one service, I'll throw the service name in there too.

There are no comments on this comment yet.