• CarrotsHaveEars@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      10 hours ago

      Exactly. Saw a thumbnail of a video on YouTube the other day: “ls -l >(cat)” (something to that effect) accompanied by something like “Insane Bash tricks you never know!” I never clicked on that video. The command looked intrigued, but I don’t want to spend ten minutes watching a video to know that.

      Edit: It looks like it’s the same person.

      • mmmm@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        8 hours ago

        I saw like the first couple minutes of that video, but if I recall correctly the <(thing) bit creates a temporary file in /proc so you can use it right away with your command, in the example you gave, with ls