View Single Post
  #26  
Old September 24th 17, 10:47 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default A browser question

VanguardLH wrote:
cameo wrote:

VanguardLH wrote:

Mayayana wrote:

cameo wrote

Thanks. Last time I remember editing the HOSTS file was in Linux. Where
is it in Windows?
https://blogs.msmvps.com/hostsnews/
Not sure that really answers the question of WHERE is the 'hosts' file
in Windows. The file is under:

C:\Windows\System32\drivers\etc

It is a text file with no extension in its filename.

You're right. That's what I was after. Now that you told me, it's a
similar directory I remember in Linux.


Been a long time (probably 20 years) since I last used *NIX: AIX, UNIX,
Linux (Redhat), SunOS, [Open]Solaris, SCO and Unixware (which were
embedded OSes in comm controllers that customers normally aren't
supposed to touch - but then I'm often abnormal), HP-UX, and others too
long forgotten. Considering all the acronyms I've accumulated over the
decades, no wonder some folks don't understand what the hell I'm talking
about when yakking it up with my other oldie cronies. I've played with
more recent Linux distros, like Ubuntu (and derivaties), Mint, and some
others but just can't get motivated to delve back into that genre. With
Microsoft ****ing up Windows 8 and now 10, they're sure pushing me to be
a nixie pixie.

Isn't /etc a mount point so you don't care on which system volume the
path is located? Had to go check ...

http://www.tldp.org/LDP/Linux-Filesy.../html/etc.html

From that article, looks like "etc" is where the similarity ends (and
nothing to do with \windows\system32 or any parent path similar to
Windows). On *NIX, looks like the 'hosts' file is at /etc/hosts (i.e.,
directly under the /etc mount point).


The /etc/hosts is the normal location for it on Linux/Unix.

Even when a lot of the other furniture has moved around.

You can create separate mounts for various subsections of slash
if you want. But a typical home installation, especially
considering the gigantic size of modern hard drives, means you
don't need to play the mounting game, and one / (slash) can
hold virtually the whole thing. Only if you wanted to
mount /tmp on RAM (TMPFS), might you meddle with the setup.
So for the most part, you'll find the "HOSTS" file in the
usual place, and on the "main" partition. We're no longer
forced to load seven 2GB hard drives, and put pieces of
slash all over the place.

Paul
Ads