try this
echo "17.17.17.17 8kek.top" >/etc/hosts
come on guys i was kidding. 8kek is obviously not 8kun nor is the ip i gave.
for future reference though: you get permission denied because redirection >happens before the command.
you can get around it with: sudo bash -c "command here"
but seriously, don't just copy paste shit from the net in your terminal without checking it
if you get fat eating too much mcdonalds is it mcdonalds fault?
it's just a button that opens a disclaimer modal with another button that leads to their facefuck page