Is there a way to 'include' a separate file in /etc/hosts?
Posted
by lawnmowerlatte
on Super User
See other posts from Super User
or by lawnmowerlatte
Published on 2010-04-08T19:31:25Z
Indexed on
2010/04/08
19:33 UTC
Read the original article
Hit count: 233
Is there any way to 'include' another file within the /etc/hosts file? Particularly I want to include a non-protected (-rw-rw-rw
) file so I can easily edit it in something like TextMate without having to issue sudo vi /etc/hosts
I'm on OS X, but as far as I know, this should be relevant in other *nix OSs.
© Super User or respective owner