• Korthrun@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    21 hours 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