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.
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.
Given that their hand is over the mouse and not the keyboard/enter key, I assume they’re gonna click close on the terminal :p
Right click for paste, they have \n in the clipboard
Afaik \n may not run a command. I have pasted multiline commands but they only seem to run after hitting enter
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.
It definitely runs the command for me in GNOME Terminal. Pasting multiple commands at once runs everything but the last command.
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.