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

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