• GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    ah. makes sense.

    find is really easy.

    find -type f -name "*wildcard_filename*"

    find -type d -name "*wildcard_directoryname*"

      • village604@adultswim.fan
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        It’s best to not run it on your root folder, because you’ll be greeted with a wall of errors from /proc or other system directories.

        The main ones I check are:

        • /usr
        • /var
        • /opt
        • /etc
        • /home
        • /lib (usually only when troubleshooting compile errors)