I want to redirect some sites to localhost. I can use hosts file which resides in directory C:\WINDOWS\system32\drivers\etc in windows.
Which is equivalent of this file in Ubuntu?
I want to redirect some sites to localhost. I can use hosts file which resides in directory C:\WINDOWS\system32\drivers\etc in windows.
Which is equivalent of this file in Ubuntu?
In Ubuntu it is /etc/hosts. You can edit the file as same in other OSes.