cm0002@lemmy.world to Programmer Humor@programming.dev · 16 天前Linux Userslemmy.mlimagemessage-square146fedilinkarrow-up11.26Karrow-down125cross-posted to: programmerhumor@lemmy.ml
arrow-up11.24Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 16 天前message-square146fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaredropcase@lemmy.worldlinkfedilinkarrow-up3·14 天前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.