obnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 3 months agoNoicelemmy.imagisphe.reimagemessage-square122linkfedilinkarrow-up1487arrow-down111
arrow-up1476arrow-down1imageNoicelemmy.imagisphe.reobnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 3 months agomessage-square122linkfedilink
minus-squareClownStatue@piefed.sociallinkfedilinkEnglisharrow-up3·3 months 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-squaremoopet@sh.itjust.workslinkfedilinkEnglisharrow-up3·3 months agoctrl-r is generally quicker
minus-squareClownStatue@piefed.sociallinkfedilinkEnglisharrow-up1·3 months 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.