⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hosts.5

📁 操作系统设计与实现源码
💻 5
字号:
.TH HOSTS 5.SH NAMEhosts \- hostname to IP address database.SH SYNOPSIS.B /etc/hosts.SH DESCRIPTIONThe hosts database lists the IP addresses and the hostnames that translateto these IP addresses.  It is used by.BR nonamed (8)in a network without name servers.  A simple.B /etc/hostsmay look like this:.PP.RS.ta +15n +10n.nf127.0.0.1	localhost192.9.200.1	darask192.9.200.2	burask.fi.RE.PPThe localhost entry lists a special address that refers to the local hostitself (a kind of /dev/tty for hosts.)  You should only list it if.B nonamedneeds it!  The other entries are actual machines.  The file may containcomments marked with '#'..PPYou can have aliases (more hostnames on the same line), but it is notrecommended, because.B nonamedcan't present them to the system as CNAME records.  An often seen form like.PP.RS192.9.200.1	darask.home.cs.vu.nl\0\0darask.RE.PPis harmless though, and has the small advantage that you can use the shortname in.B /etc/ethersso.B rarpdcan match it at boot time..SH FILES.TP 15n/etc/hostsHosts database..SH "SEE ALSO".BR ethers (5),.BR nonamed (8),.BR rarpd (8),.BR boot (8)..SH AUTHORKees J. Bot (kjb@cs.vu.nl)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -