易截截图软件、单文件、免安装、纯绿色、仅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字符模式下的分辨率设置

不同色彩和分辨率所对应的值   
    depth-----640x480----800x600----1024x768-----1280x1024
  8bit---------769--------771--------773----------775
  15bit--------784--------787--------790----------793
    编辑/boot/grub/目录下的menu.lst文件(有些系统menu.lst文件是软连接到 ......

Linux中的内存页表创建之memtable_init()函数分析

    本函数的分析很难具体,因为涉及了很多arm的处理器型号和每个型号对应的cache和write buffer的工作方式,这片文章只是做简单的记录,方便以后了解更深后回来再来完善这个函数。
     这个函数的调用过程如:start_kernel()->setup_arch()->paging_init()->memtable_init( ......

Linux命令:lsmod 显示已载入系统的模块

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

linux中出错处理

linux中,在支持多线程的环境中,通常每个线程都有属于自己的errno变量,是用来表示特定错误的常量。
以下是<errno.h>中定义的所有出错errno常量
#define EPERM            1      /* Operation not permitted */
#define ENOEN ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号