Saturday, September 20, 2014

Think before running these linux commands

wget http://example.com/something -O – | sh


this has two commands in series to execute 

1 . download something from the http://example.com/something  using wget 
2. just pass this downloaded to sh command where sh is just execute the shell script if the downloaded content is shell script 

do be aware when you are running such type of command above .

No comments:

Post a Comment