alias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 16 hours agoSeriously, why?lemmy.worldimagemessage-square96fedilinkarrow-up1396
arrow-up1396imageSeriously, why?lemmy.worldalias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 16 hours agomessage-square96fedilink
minus-squareKorthrun@lemmy.sdf.orglinkfedilinkarrow-up1·edit-28 hours 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-up3·7 hours 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