Re:Don't copy paste from a website to a terminal
by yiyus on Thursday November 12, 2015 @06:31PM
(#10556951)
I do not do that. I have copied and pasted git clone commands directly in my terminals many times. The questions is, for those who do it, how often you notice a malicious command and this saves your day.
[ Parent
| on HN ]
Re:Don't copy paste from a website to a terminal
by jarfil on Thursday November 12, 2015 @11:14PM
(#10557971)
I've never encountered a malicious command in the wild, but having the commands I execute saved in a "notes.txt" or a wiki page I keep to document whatever I'm doing at any given time, sure has saved my day more than once. Usually several days after, when I can look back at what I did and replicate, fix or enhance whatever procedure.
So if it also protects me against this, I say doubleplusgood.