• Korthrun@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    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_history