3 ms·
Any idea of an easy/quick way to toggle these edits on/off on Ubuntu?
by curiousgal 10y ago
Any idea of an easy/quick way to toggle these edits on/off on Ubuntu?
- maxschumacher91 10y agoI've put them in my host file and created an alias that switches between naming the host-file "hosts" (which will be recognized by the OS) and hostx. from my .zshrc: #block Twitter, Facebook, reddit and Linkedin. alias on="sudo mv /etc/hostx /etc/hosts" alias off="sudo mv /etc/hosts /etc/hostx"
- curiousgal 10y agoAwesome! Thanks.