易截截图软件、单文件、免安装、纯绿色、仅160KB

/etc/hosts file in linux configure manual

Name
hosts - The static table lookup for host names
Synopsis
/etc/hosts
Description
This manual page describes the format of the /etc/hosts
file. This file is a simple text file that
associates IP addresses with hostnames, one line per IP address. For
each host a single line should be present with the following
information:
IP_address canonical_hostname [aliases...]
Fields of the entry are separated by any number of blanks and/or tab
characters. Text from a "#" character until the end of the line is a
comment, and is
ignored. Host names may contain only alphanumeric characters, minus
signs ("-"), and periods ("."). They must begin with an alphabetic
character and end with
an alphanumeric character. Optional aliases provide for name changes,
alternate spellings, shorter hostnames, or generic hostnames (for
example,
localhost
).
The Berkeley Internet Name Domain (BIND) Server implements the
Internet name server for UNIX systems. It augments or replaces the /etc/hosts
file or
host name lookup, and frees a host from relying on /etc/hosts
being up to date and complete.
In modern systems, even though the host table has been superseded by DNS, it is still widely used for:
bootstrapping
Most systems have a small host table containing the name and
address information for important hosts on the local network. This is
useful when DNS is not
running, for example during system bootup.
NIS
Sites that use NIS use the host table as input to the NIS host
database. Even though NIS can be used with DNS, most NIS sites still
use the host table with
an entry for all local hosts as a backup.
isolated nodes
Very small sites that are isolated from the network use the
host table instead of DNS. If the local information rarely changes, and
the network is not
connected to the Internet, DNS offers little advantage.
Example
127.0.0.1 localhost
192.168.1.10 foo.mydomain.org
foo
192.168.1.13 bar.mydomai


相关文档:

Linux正则表达式技术指南

Linux正则表达式技术指南
导读:本文介绍Linux正则表达式技术。包括使用不同的工具如grep、awk以及sed去查找包含特定文本串的文件。
关键词:Linux正则表达式 grep awk sed
 
正在加载数据...
【TechTarget中国原创】作为一个Linux管理员,您需要对文本文件进行处理。您可以使用不同的工具如grep、awk以及sed去 ......

Linux下QT图形界面开发(一)——概述(1)


Qt是一个跨平台的C++图形用户界面库,.由挪威TrollTech公司出品,目前包括Qt/X11,基于Frambuffer的Qt Embedded,快速开发工具Qt Designer几国际化工具Qt Linguist等.Qt支持Unix及Linux系统,还支持Windows NT/Windows 2k及Qindows 95/98平台.Qt的良好封装机制使其模块化程度非常高,可重用性 ......

[转] linux下创建oracle用户表空间

转自: http://blog.csdn.net/kongqz/archive/2009/05/15/4184415.aspx
就是在已有的数据库实例上创建一个新的帐号,访问一些新的表
 操作步骤如下:
 1、登录linux,以oracle用户登录(如果是root用户登录的,登录后用 su - oracle命令切换成oracle用户)
 2、以sysdba方式来打开sqlplus,命令如下: s ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号