News for hackers. Stuff that matters.
Re:Don't copy paste from a website to a terminal by dublinben on Thursday November 12, 2015 @12:55PM (#10554787)
None of those commands are so long that you shouldn't just be retyping them by hand. It's obviously not an ideal way to install anything, but it's much safer than copy and pasting.
Re:Don't copy paste from a website to a terminal by cortesoft on Thursday November 12, 2015 @01:40PM (#10555174)
or copy them to a text editor first?
Re:Don't copy paste from a website to a terminal by jeffdavis on Thursday November 12, 2015 @01:59PM (#10555308)
Is that safe? (Legitimate question)
Re:Don't copy paste from a website to a terminal by keithgabryelski on Thursday November 12, 2015 @02:40PM (#10555556)
one can target specific editors...

for instance, if I know you are using VI I can create a series of characters that will escape out of insert mode and run a shell command (note: ^[ is ESC (ascii 27))

git status

^[

:!echo foo