Comment

Comment by ctde

unfortunately this doesn't work if the user doesn't have write permissions for /etc/hosts already.

perhaps: echo "127.0.0.1 reddit.com # The real blackout" | sudo tee -a /etc/hosts ?

parent ctde 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton