• Geometrinen_Gepardi@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    What’s your strategy for finding terminal commands in the situation you mentioned; no compgen and little available documentation?

    • 𞋴𝛂𝛋𝛆@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Not at my computer with my scripts, but you can grab the path variable and loop over each entry with ls. I often end up brute forcing this and piping it to /tmp/delete then I can just grep the file. First thing I do is add bash if possible.