• atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    18 hours ago

    Don’t feel silly! It’s a common mistake, easy to fix, and easy to make. I’ve seen experienced developers do something similar.

    It seems you’ve resolved the issue at this point but remember you can always run commands by specifying their full path as well (should you end up in a similar situation). All the PATH variable does is set the default locations to search when you don’t provide a full path to a binary.

    e.g. /bin/ls or /usr/bin/vi