nowadays on my Linux terminal if I paste anything containing a newline (which in the past would cause the commands to execute) I get a pop up asking me to confirm
Really saves you from the websites putting paragraphs of malicious code into seemingly a single simple line