易截截图软件、单文件、免安装、纯绿色、仅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命令:lsmod 显示已载入系统的模块

lsmod(list modules)
 
功能说明:显示已载入系统的模块。
语  法:lsmod
补充说明:执行lsmod指令,会列出所有已载入系统的模块。Linux操作系统的核心具有模块化的特性,应此在编译核心时,务须把全部的功能都放入核心。您可以将这些功能编译成一个个单独的模块,待需要时再分别载入。
范例:
[root@lin ......

在CentOS 5 或Red Hat Enterprise Linux安装语言包


Q. How do I install Languages in Linux after installation? I don’t have any language specific support installed but need to install the same. I’m using both RHEL 5 and CentOS 5.
A. Yellow dog Updater, Modified, a package manager for RPM-compatible Linux systems such as Cento ......

[转] 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号