News for hackers. Stuff that matters.
Re:A shell exclamation mark is not for yelling. Be lazy. by Joker_vD on Wednesday August 12, 2026 @06:39AM (#49270301)
Frankly,

    !-2 && !!
and its variations (like '!-2 | !!') is pretty much the most use I've gotten out of this feature.
Re:A shell exclamation mark is not for yelling. Be lazy. by mturmon on Wednesday August 12, 2026 @10:04AM (#49272590)
The above is a useful idiom that has a somewhat different feel than using !$, etc. Construction versus surgery.