mastodon.sdf.org is part of the decentralized social network powered by Mastodon.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko

Administered by:

Server stats:

2.4K
active users

Learn more

I'm appalled. Setting

alias please='sudo !!'

returns with

sudo: !!: command not found

rather than doing what sudo !! does. How do I make this work?

Jawsh McCullaugh

@unused0 alias please='sudo $(fc -ln -1)' seems to do the trick! :)