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.

Comments

You’re a total geek! :D pride

I’ll take that as a compliment ;)

..and the question is: Why????? Believe me when I tell you “This Flevour has Super Cows Powers”!

Glad to see you around man :)