LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-06-2006, 03:57 AM   #1
newio
Member
 
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39

Rep: Reputation: 15
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)
 
Old 07-06-2006, 05:09 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to replace a certain location in a file with a certain value johnson_steve Linux - Software 1 06-22-2005 02:29 AM
Mozilla Hosts file location DoThatPlan Linux - Software 3 11-06-2004 09:14 PM
PATH file location corbis_demon Linux - Newbie 1 10-08-2004 05:34 AM
File location problem Wynand1 Linux - Newbie 3 09-15-2004 04:06 AM
does the /etc/hosts file work same as the M$ hosts file? Lleb_KCir Linux - Software 6 04-03-2004 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration