obnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 4 days agoNoicelemmy.mlimagemessage-square112linkfedilinkarrow-up1472arrow-down110
arrow-up1462arrow-down1imageNoicelemmy.mlobnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 4 days agomessage-square112linkfedilink
minus-squareClownStatue@piefed.sociallinkfedilinkEnglisharrow-up3·3 days agoAdding to this, if you notice numbers next to your previous commands when you run history, you can do !<number> and it will rerun that command. Probably the second cool shell trick I learned back in the olden days or yore (mid-90s?) after ⬆️
minus-squareClownStatue@piefed.sociallinkfedilinkEnglisharrow-up1·3 days agoLearned that one embarrassingly much later.
Adding to this, if you notice numbers next to your previous commands when you run history, you can do !<number> and it will rerun that command. Probably the second cool shell trick I learned back in the olden days or yore (mid-90s?) after ⬆️
ctrl-r is generally quicker
Learned that one embarrassingly much later.