cm0002@lemmy.world to Programmer Humor@programming.dev · 6 days agoLinux Userslemmy.mlimagemessage-square75linkfedilinkarrow-up1955
arrow-up1955imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 6 days agomessage-square75linkfedilink
minus-squareOlgratin_Magmatoe@slrpnk.netlinkfedilinkEnglisharrow-up5·edit-26 days agogrep | history [search term]
minus-squareCevilia (she/they/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up6·6 days agoI think you meant history | grep [search term] (which was id 1003 for me btw)
minus-squareOlgratin_Magmatoe@slrpnk.netlinkfedilinkEnglisharrow-up4·6 days agoOops, but yes that’s what I meant.
minus-squareGobo@lemmy.worldlinkfedilinkEnglisharrow-up3·5 days agoI do this all the time for that one long command I use monthly like for cert renewals.
grep | history [search term]
I think you meant
history | grep [search term]
(which was id 1003 for me btw)
Oops, but yes that’s what I meant.
I do this all the time for that one long command I use monthly like for cert renewals.
alias hf='history|grep'