cm0002@lemmy.world to Programmer Humor@programming.dev · 3 个月前Linux Userslemmy.mlimagemessage-square150linkfedilinkarrow-up11.31Karrow-down128cross-posted to: programmerhumor@lemmy.ml
arrow-up11.28Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 3 个月前message-square150linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaredropcase@lemmy.worldlinkfedilinkarrow-up3·3 个月前why not history | grep -i and the search term? even if there are several, you can use ! and the command’s line number to run it again
why not
history | grep -iand the search term?even if there are several, you can use ! and the command’s line number to run it again
historyis shell dependent.