• halfdane@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      15 days 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/

      • jokro@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        14 days ago

        Also use “…”, i.e. export PATH="$PATH:.." so that it won’t break with whitespace in paths involved