• Ghoelian@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          7
          ·
          11 months ago

          Depends on the terminal I think. Pretty sure KDE's Konsole warns you that commands may be run when pasting something with newlines, but still allows it.

        • LostXOR@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          It definitely runs the command for me in GNOME Terminal. Pasting multiple commands at once runs everything but the last command.

    • nebula42@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      Well they did have the type the command, and to do that they would first have to navigate to the terminal (assuming the machine isn't running just a plain tty) first.