alias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 3 days agoSeriously, why?lemmy.worldexternal-linkmessage-square100fedilinkarrow-up1458arrow-down114
arrow-up1444arrow-down1external-linkSeriously, why?lemmy.worldalias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 3 days agomessage-square100fedilink
minus-squareKorthrun@lemmy.sdf.orglinkfedilinkarrow-up3·edit-22 days agoDid you know that grep can take the name of the file(s) you want it to search as the final arguments? For example: grep -Ein "$@" ~/.bash_history
minus-squarealias_qr_rainmaker@lemmy.worldOPlinkfedilinkarrow-up3arrow-down2·2 days agoi always pipe into grep so sometimes i forget that’s even an option, lol
Did you know that grep can take the name of the file(s) you want it to search as the final arguments?
For example:
grep -Ein "$@" ~/.bash_historyi always pipe into grep so sometimes i forget that’s even an option, lol