cm0002@lemmy.world to Programmer Humor@programming.dev · 3 个月前Linux Userslemmy.mlexternal-linkmessage-square64fedilinkarrow-up198arrow-down15
arrow-up193arrow-down1external-linkLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 3 个月前message-square64fedilink
minus-squaredropcase@lemmy.worldlinkfedilinkarrow-up0·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.