Table of Contents

, ,

Below works 50% of the time every time!

Custom hosts file location

Add this to .bashrc so that you don't need to sudo edit /etc/hosts all the timeā€¦

export HOSTALIASES=~/.hosts

Then add your hosts to .hosts file.

Tested on

See also

References