corenominal

Full stack web developer, interested in all the things, but especially the web, code, design, Linux, OS X, PHP, WordPress, JavaScript & robots.

Look before you paste from a website to terminal image/svg+xml

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.

Leave a comment

Your email address will not be published. Required fields are marked *