📄 hosts.5
字号:
.\" SCCSID: @(#)hosts.5 8.1 9/11/90.TH hosts 5 .SH Namehosts \- host name file.SH Description.NXR "hosts file" "format".NXR "host name" "DARPA Internet and"The.PN hostsfile is an ASCII file that contains information aboutthe known hosts on the DARPA Internet.For each host a single line should be presentwith the following information:.PPInternet address.brOfficial host name.brAliases.PPEach.PN hostname is separated from the next by a new line.Items are separated by any number of blanks ortab characters. A number sign (#) indicates the beginning ofa comment; characters up to the end of the line arenot interpreted by routines that search the file.This file is normally created from the official hostdata base maintained at the Network Information ControlCenter (NIC), though local changes may be requiredto bring it up to date regarding unofficial aliasesor unknown hosts..PPHost addresses are specified in the conventionaldot (.) notation using the inet_addr routinefrom the Internet address manipulation library,.MS inet 3n .Host names can contain any printablecharacter other than a field delimiter, newline,or comment character..PPThe .PN hostsdatabase may be distributed in a network by a naming service,such as Yellow Pages or BIND/Hesiod. See the .I Guide to the Yellow Pages Serviceor the .I Guide to the BIND/Hesiod Servicefor setup information..SH Files.PN /etc/hosts.SH See Alsogethostent(3n).br.I Guide to the BIND/Hesiod Service.br.I Guide to the Yellow Pages Service
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -