Re:A shell exclamation mark is not for yelling. Be lazy.
by CoastalCoder on Wednesday August 12, 2026 @05:38AM
(#49269832)
Agreed. I especially cringed at the author's example of mixing that with "sudo".
[ Parent
| on HN ]
Re:A shell exclamation mark is not for yelling. Be lazy.
by pcblues on Wednesday August 12, 2026 @07:12AM
(#49270610)
That's mixing human memory with root access. Worse than AI :) I have lost more to mistakes than bugs over 30 years.
Re:A shell exclamation mark is not for yelling. Be lazy.
by refp on Wednesday August 12, 2026 @05:42AM
(#49269860)
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?
Re:A shell exclamation mark is not for yelling. Be lazy.
by CoastalCoder on Wednesday August 12, 2026 @06:34AM
(#49270272)
I suppose it depends on the kinds of mistakes to which one is prone.