cm0002@lemmy.world to Programmer Humor@programming.dev · 8 天前Linux Userslemmy.mlimagemessage-square104linkfedilinkarrow-up11.14Karrow-down123cross-posted to: programmerhumor@lemmy.ml
arrow-up11.12Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 8 天前message-square104linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaredropcase@lemmy.worldlinkfedilinkarrow-up3·6 天前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 -i
and the search term?even if there are several, you can use ! and the command’s line number to run it again
history
is shell dependent.