LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   hosts file location (https://www.linuxquestions.org/questions/debian-26/hosts-file-location-461422/)

newio 07-06-2006 03:57 AM

hosts file location
 
Can someone tell me where the local hosts file sits on debian. I've checked /etc/hosts but nothing is there.

This system is run by my datacenter, so it could be a non standard install (in which case i'll keep looking)

druuna 07-06-2006 05:09 AM

Hi,

The hosts file should reside in /etc. This is true for all linux/unix flavors. Some have a link in /etc that points to the real hosts file (Sun Solaris, to name just one). I'm not aware of any linux distro's that do this (linking).

All programs that need the hosts file look in /etc.

Hope this helps.


All times are GMT -5. The time now is 09:51 PM.