• plantsmakemehappy@lemmy.zip
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    2 days ago

    You didn’t append this to your path, you just overwrote the whole value. You’ll need to use full paths to commands to edit the file and fix it like export PATH="$PATH:/the/new/path/to/add"

      • halfdane@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 day ago

        I’m a little late to the party, but PATH should only consist of the directories, so it should look like this:

        export PATH=$PATH:/usr/sbin/