Rin, 1 year ago So, yk how the history command outputs something like this: <span style="color:#323232;">1 Abcd </span><span style="color:#323232;">2 Efgh </span><span style="color:#323232;">3 Ijkl </span> If you run !2, you will run Efgh. It blew my mind the first time I saw it, but maybe I’m just stupid.
So, yk how the history command outputs something like this:
<span style="color:#323232;">1 Abcd </span><span style="color:#323232;">2 Efgh </span><span style="color:#323232;">3 Ijkl </span>
If you run !2, you will run Efgh.
!2
Efgh
It blew my mind the first time I saw it, but maybe I’m just stupid.