cm0002@lemmy.world to Programmer Humor@programming.dev · 6 days agoLinux Userslemmy.mlimagemessage-square150linkfedilinkarrow-up11.31Karrow-down125cross-posted to: programmerhumor@lemmy.ml
arrow-up11.29Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 6 days agomessage-square150linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareOlgratin_Magmatoe@slrpnk.netlinkfedilinkEnglisharrow-up5·edit-26 days agogrep | history [search term]
minus-squareCevilia (she/they/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up7·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·6 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.
alias hf='history|grep'
I do this all the time for that one long command I use monthly like for cert renewals.