I have googled and searched Ask Ubuntu on this, but got no relevant answers.
I have no hosts
file in /etc
, I cannot find a hosts
file in search, I am talking about the system hosts file not lampp/etc
. I mention that because there is no hosts file there either - maybe that is a clue.
I want to know how to create a hosts
file in Ubuntu or obtain a sample file I could copy and paste or I am happy to use the terminal if someone can help with best way to create the file and edit it.
I am not even sure what extension it should have - basically I just want the default hosts
file that I understand Ubuntu should come with in my /etc
folder.
netbase
package. See/var/lib/dpkg/info/netbase.postinst
.