alias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 6 days agoSeriously, why?lemmy.worldimagemessage-square94linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageSeriously, why?lemmy.worldalias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 6 days agomessage-square94linkfedilink
minus-squareKorthrun@lemmy.sdf.orglinkfedilinkarrow-up0·6 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-up0·6 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