logoalt Hacker News

refptoday at 9:42 AM1 replyview on HN

the "mixing of sudo"-example is using `!!`, which as explained is the immediately previous command, a little confused how that translates to the "execute command somewhere in the history" argument?


Replies

CoastalCodertoday at 10:34 AM

I suppose it depends on the kinds of mistakes to which one is prone.