cli

Shutdown from command line, the easy way

Being stupid with friends a couple of nights ago, this is the way I shutdown my laptop (fixing a typo, you know):

echo "sudol init 0" | sed 's/sudol//'|xargs sudo

Using `xargs` makes me feel better.

Syndicate content