Look before you paste from a website to terminal [↗]

Most of the time when we see a code snippet online to do something, we often blindly copy paste it to the terminal. Even the tech savy ones just see it on the website before copy pasting. Here is why you shouldn’t do this.

I’m well past the point of copying and pasting random commands, that said, I’d imagine this could be somewhat scary for new Linux users.

On a semi-related note, I’m sure I noticed that the default terminal app in elementary OS alerts the user whenever they paste a “sudo” command. Seems like a sensible idea.

Tagged with:

Leave a comment

Note: Please be excellent (this is not YouTube and I reserve the right not to publish comments from muppets.) Your email address will not be published. Required fields are marked *