• tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    2 days ago

    Wouldn’t that path only resolve if those intermediate directories exist? I thought bash had to crawl the path to resolve it

    • yetAnotherUser@discuss.tchncs.de
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      2 days ago

      Yeah, that’s what I meant with folders.

      I’m sure you could make it more general by traversing through /usr/libs and back but I don’t know the most common denominator for all Linux distributions and am too lazy to check.

      • tetris11@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        1 day ago

        Its a good idea, but I think you’d limited to messing /tmp or /var/tmp, as anything else would trigger a “I’m sorry response”