hosts file

Nils Kassube kassube at gmx.net
Wed Mar 14 21:32:05 UTC 2007


On Wednesday 14 March 2007 16:15, Lokeey wrote:
> if i want to add known hosts that i connect to on a frequent basis, i
> add known hosts to /etc/hosts, correct? or is there another file?
>
> also, it's been a while, so do i just add this below my localhost info
> like so...
>
> 10.0.0.1 host host.name.com
>
> or
>
> 10.0.0.1 hostname

From "man hosts":

EXAMPLE
 127.0.0.1       localhost
 192.168.1.10    foo.mydomain.org       foo
 192.168.1.13    bar.mydomain.org       bar
 146.82.138.7    master.debian.org      master
 209.237.226.90  www.opensource.org


Nils




More information about the kubuntu-users mailing list