@VikingKong No the real headline should be

"Don't hit enter too fast when copy-pasting commands from a website. Read what you pasted first."

Which in my opinion should be commonplace practice.

@Naughtylus @VikingKong That's false. The paste can include a newline.

If you try the examples from that website, you'll notice that you don't have to hit enter for them to be executed!

@hirnbrot @VikingKong I did try them, and I did have to hit enter.

Maybe that's what the author meant when they talked about zsh fixing the issue, my bad.

@VikingKong Good to bear in mind and something I’ve often been guilty of as I’m still somewhat a Linux noob. I certainly try to get into the habit of typing out commands and understanding the syntax before pressing enter.

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.