24. 05. 2013.

Pasting a line from website into terminal - Very important security thing!

I already wrote you several command lines that perform some described actions. For someone who is lazy typing in terminal the whole command, it is great that he can just copy and paste that from my blog into his terminal and press the Enter key. However, copying things from a various websites and pasting them in terminal can be very dangerous. Reason for that is that by copying a text that you see, you can actually copy something completely different. Read more about it here.

My advice is to write commands by yourself, because not only your terminal won't get something you don't want, but also you'll learn BASH commands faster. The other option is to copy a text from a website into text editor and see if two texts really match. Of course, even if text match, it does not necessarily do what is described, so also be very careful with that!

Good luck!

Nema komentara:

Objavi komentar