﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-YGB.Grushy-文章分类-Linux目录和文件</title><link>http://www.cnitblog.com/ygb/category/1635.html</link><description /><language>zh-cn</language><lastBuildDate>Sat, 01 Oct 2011 14:22:32 GMT</lastBuildDate><pubDate>Sat, 01 Oct 2011 14:22:32 GMT</pubDate><ttl>60</ttl><item><title>Linux系统各主要目录的作用</title><link>http://www.cnitblog.com/ygb/articles/5742.html</link><dc:creator>YGB.Grushy</dc:creator><author>YGB.Grushy</author><pubDate>Sat, 24 Dec 2005 06:14:00 GMT</pubDate><guid>http://www.cnitblog.com/ygb/articles/5742.html</guid><wfw:comment>http://www.cnitblog.com/ygb/comments/5742.html</wfw:comment><comments>http://www.cnitblog.com/ygb/articles/5742.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/ygb/comments/commentRss/5742.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/ygb/services/trackbacks/5742.html</trackback:ping><description><![CDATA[<SPAN id=tpid66311><SPAN id=spid66311><B>路径名</B>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; <B>内容</B><BR><BR><BR>/bin&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;为得到最小的系统操作性所需要的那些命令<BR>/boot&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;内核和加载内核所需的文件<BR>/dev&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;终端、磁盘等设备项<BR>/etc&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;关键的启动文件和配置文件<BR>/lib&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;c编译器的库和部分c编译器<BR>/opt&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;可选，附加的应用软件包<BR>/proc&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;所有正在运行进程的映象<BR>/root&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;超级用户的主目录<BR>/sbin&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;引导、修复或者恢复系统的命令<BR>/tmp&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;每次重启就消失的临时文件<BR>/usr&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;次要文件和命令层次结构<BR>/usr/bin&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;大多数命令和可执行文件<BR>/usr/include&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; c程序的头文件<BR>/usr/lib&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;库:供标准程序使用的支持文件<BR>/usr/local&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;本地软件(用户所安装的软件)<BR>/usr/local/bin&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;本地的可执行文件<BR>/usr/local/etc&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;本地系统配置文件和命令<BR>/usr/local/lib&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;本地的支持文件<BR>/usr/local/sbin&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; 静态链接的本地系统维护命令<BR>/usr/local/src&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;/usr/local/*的源代码<BR>/usr/sbin&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; 不太关键的系统管理和修复命令<BR>/usr/share&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;多种系统共同的东西(只读)<BR>/usr/share/man&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;联机用户手册<BR>/usr/src&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;(非本地)软件包的源代码<BR>/usr/src/linux&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;构造内核的工作区，配置文件<BR>/var&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;系统专用数据和配置文件<BR>/var/adm&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;各种不同的东西:日志、系统设置记录、奇怪的管理信息<BR>/var/log&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;各种系统日志文件<BR>/var/spool&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;供打印机、邮件等使用的假脱机目录<BR>/var/tmp&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;更多的临时空间(在重启后，文件予以保留)</SPAN></SPAN> <BR><img src ="http://www.cnitblog.com/ygb/aggbug/5742.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/ygb/" target="_blank">YGB.Grushy</a> 2005-12-24 14:14 <a href="http://www.cnitblog.com/ygb/articles/5742.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>linux配置文件参考</title><link>http://www.cnitblog.com/ygb/articles/5512.html</link><dc:creator>YGB.Grushy</dc:creator><author>YGB.Grushy</author><pubDate>Sat, 17 Dec 2005 08:54:00 GMT</pubDate><guid>http://www.cnitblog.com/ygb/articles/5512.html</guid><wfw:comment>http://www.cnitblog.com/ygb/comments/5512.html</wfw:comment><comments>http://www.cnitblog.com/ygb/articles/5512.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/ygb/comments/commentRss/5512.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/ygb/services/trackbacks/5512.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: linux配置文件参考/etc/passwd 1.文件格式/etc/passwd存储了系统中所有用户的基本信息.可以说这是系统中最重要的一个配置文件.对它作任何修改一定要小心谨慎.同时要经常检察这个文件,包括它的内容和权限设置.使用vi编辑程序打开此文件,可以看到这个文件由许多行记录组成.每一行记录对应着一个用户.我们以第一行为例.第一行一般是root用户的记录,尽管这不是必需的.实际上用户记录出...&nbsp;&nbsp;<a href='http://www.cnitblog.com/ygb/articles/5512.html'>阅读全文</a><img src ="http://www.cnitblog.com/ygb/aggbug/5512.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/ygb/" target="_blank">YGB.Grushy</a> 2005-12-17 16:54 <a href="http://www.cnitblog.com/ygb/articles/5512.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>理解 Linux 配置文件</title><link>http://www.cnitblog.com/ygb/articles/5511.html</link><dc:creator>YGB.Grushy</dc:creator><author>YGB.Grushy</author><pubDate>Sat, 17 Dec 2005 08:43:00 GMT</pubDate><guid>http://www.cnitblog.com/ygb/articles/5511.html</guid><wfw:comment>http://www.cnitblog.com/ygb/comments/5511.html</wfw:comment><comments>http://www.cnitblog.com/ygb/articles/5511.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/ygb/comments/commentRss/5511.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/ygb/services/trackbacks/5511.html</trackback:ping><description><![CDATA[<p>介绍</p>

<p>每个 Linux 程序都是一个可执行文件，它含有操作码列表，CPU 将执行这些操作码来完成特定的操作。例如，ls 命令是由
/bin/ls
文件提供的，该文件含有机器指令的列表，在屏幕上显示当前目录中文件的列表时需要使用这些机器指令。几乎每个程序的行为都可以通过修改其配置文件来按照您
的偏好或需要去定制。 </p>

<p>Linux 中有没有一个标准的配置文件格式？</p>

<p>一句话，没有。不熟悉 Linux 的用户（一定）会感到沮丧，因为每个配置文件看起来都象是一个要迎接的新挑战。在 Linux
中，每个程序员都可以自由选择他或她喜欢的配置文件格式。可以选择的格式很多，从 /etc/shells 文件（它包含被一个换行符分开的
shell 的列表），到 Apache 的复杂的 /etc/httpd.conf 文件。 </p>

<p>什么是系统配置文件？</p>

<p>内核本身也可以看成是一个“程序”。为什么内核需要配置文件？内核需要了解系统中用户和组的列表，进而管理文件权限（即根据权限判定特定用户
（UNIX_USERS）是否可以打开某个文件）。注意，这些文件不是明确地由程序读取的，而是由系统库所提供的一个函数读取，并被内核使用。例如，程序
需要某个用户的（加密过的）密码时不应该打开 /etc/passwd 文件。相反，程序应该调用系统库的 getpw()
函数。这种函数也被称为系统调用。打开 /etc/passwd 文件和之后查找那个被请求的用户的密码都是由内核（通过系统库）决定的。 </p>

<p>除非另行指定，Red Hat Linux 系统中大多数配置文件都在 /etc 目录中。配置文件可以大致分为下面几类： </p>

<p>访问文件</p>

<p>/etc/host.conf 告诉网络域名服务器如何查找主机名。（通常是 /etc/hosts，然后就是名称服务器；可通过 netconf 对其进行更改） <br>/etc/hosts 包含（本地网络中）已知主机的一个列表。如果系统的 IP 不是动态生成，就可以使用它。对于简单的主机名解析（点分表示法），在请求 DNS 或 NIS 网络名称服务器之前，/etc/hosts.conf 通常会告诉解析程序先查看这里。 <br>/etc/hosts.allow 请参阅 hosts_access 的联机帮助页。至少由 tcpd 读取。 <br>/etc/hosts.deny 请参阅 hosts_access 的联机帮助页。至少由 tcpd 读取。 </p>

<p>引导和登录／注销</p>

<p>/etc/issue &amp; /etc/issue.net 这些文件由
mingetty（和类似的程序）读取，用来向从终端（issue）或通过 telnet
会话（issue.net）连接的用户显示一个“welcome”字符串。它们包括几行声明 Red Hat 版本号、名称和内核 ID
的信息。它们由 rc.local 使用。 <br>/etc/redhat-release 包括一行声明 Red Hat 版本号和名称的信息。由 rc.local 使用。 <br>/etc/rc.d/rc 通常在所有运行级别运行，级别作为参数传送。例如，要以图形（Graphics）模式（X-Server）引导机器，请在命令行运行下面的命令：init 5。运行级别 5 表示以图形模式引导系统。 <br>/etc/rc.d/rc.local 非正式的。可以从 rc、rc.sysinit 或 /etc/inittab 调用。 <br>/etc/rc.d/rc.sysinit 通常是所有运行级别的第一个脚本。 <br>/etc/rc.d/rc/rcX.d
从 rc 运行的脚本（X 表示 1 到 5
之间的任意数字）。这些目录是特定“运行级别”的目录。当系统启动时，它会识别要启动的运行级别，然后调用该运行级别的特定目录中存在的所有启动脚本。例
如，系统启动时通常会在引导消息之后显示“entering run-level 3”的消息；这意味着 /etc/rc.d/rc3.d/
目录中的所有初始化脚本都将被调用。 </p>

<p>文件系统</p>

<p>内核提供了一个接口，用来显示一些它的数据结构，这些数据结构对于决定诸如使用的中断、初始化的设备和内存统计信息之类的系统参数可能很有用。这个
接口是作为一个独立但虚拟的文件系统提供的，称为 /proc
文件系统。很多系统实用程序都使用这个文件系统中存在的值来显示系统统计信息。例如，/proc/modules
文件列举系统中当前加载的模块。lsmod 命令读取此信息，然后将其以人们可以看懂的格式显示出来。下面表格中指定的 mtab
文件以同样的方式读取包含当前安装的文件系统的 /proc/mount 文件。 </p>

<p>/etc/mtab 这将随着 /proc/mount 文件的改变而不断改变。换句话说，文件系统被安装和卸载时，改变会立即反映到此文件中。 <br>/etc/fstab 列举计算机当前“可以安装”的文件系统。这非常重要，因为计算机引导时将运行 mount -a 命令，该命令负责安装 fstab 的倒数第二列中带有“1”标记的每一个文件系统。 <br>/etc/mtools.conf DOS 类型的文件系统上所有操作（创建目录、复制、格式化等等）的配置。 </p>

<p>系统管理</p>

<p>/etc/group
包含有效的组名称和指定组中包括的用户。单一用户如果执行多个任务，可以存在于多个组中。例如，如果一个“用户”是“project
1”工程组的成员，同时也是管理员，那么在 group 文件中他的条目看起来就会是这样的：user: * : group-id :
project1 <br>/etc/nologin 如果有 /etc/nologin 文件存在，login(1) 将只允许 root 用户进行访问。它将对其它用户显示此文件的内容并拒绝其登录。 <br>etc/passwd 请参阅“man passwd”。它包含一些用户帐号信息，包括密码（如果未被 shadow 程序加密过）。 <br>/etc/rpmrc rpm 命令配置。所有的 rpm 命令行选项都可以在这个文件中一起设置，这样，当任何 rpm 命令在该系统中运行时，所有的选项都会全局适用。 <br>/etc/securetty 包含设备名称，由 tty 行组成（每行一个名称，不包括前面的 /dev/），root 用户在这里被允许登录。 <br>/etc/usertty <br>/etc/shadow 包含加密后的用户帐号密码信息，还可以包括密码时效信息。包括的字段有： <br>登录名 <br>加密后的密码 <br>从 1970 年 1 月 1 日到密码最后一次被更改的天数 <br>距密码可以更改之前的天数 <br>距密码必须更改之前的天数 <br>密码到期前用户被警告的天数 <br>密码到期后帐户被禁用的天数 <br>从 1970 年 1 月 1 日到帐号被禁用的天数 </p>

<p>/etc/shells 包含系统可用的可能的“shell”的列表。 <br>/etc/motd 每日消息；在管理员希望向 Linux 服务器的所有用户传达某个消息时使用。 </p>

<p>联网</p>

<p>/etc/gated.conf gated 的配置。只能被 gated 守护进程所使用。 <br>/etc/gated.version 包含 gated 守护进程的版本号。 <br>/etc/gateway 由 routed 守护进程可选地使用。 <br>/etc/networks 列举从机器所连接的网络可以访问的网络名和网络地址。通过路由命令使用。允许使用网络名称。 <br>/etc/protocols 列举当前可用的协议。请参阅 NAG（网络管理员指南，Network Administrators Guide）和联机帮助页。 <br>C 接口是 getprotoent。绝不能更改。 <br>/etc/resolv.conf 在程序请求“解析”一个 IP 地址时告诉内核应该查询哪个名称服务器。 <br>/etc/rpc 包含 RPC 指令／规则，这些指令／规则可以在 NFS 调用、远程文件系统安装等中使用。 <br>/etc/exports 要导出的文件系统（NFS）和对它的权限。 <br>/etc/services 将网络服务名转换为端口号／协议。由 inetd、telnet、tcpdump 和一些其它程序读取。有一些 C 访问例程。 <br>/etc/inetd.conf
inetd 的配置文件。请参阅 inetd 联机帮助页。包含每个网络服务的条目，inetd
必须为这些网络服务控制守护进程或其它服务。注意，服务将会运行，但在 /etc/services
中将它们注释掉了，这样即使这些服务在运行也将不可用。格式为：&lt;service_name&gt; &lt;sock_type&gt;
&lt;proto&gt; &lt;flags&gt; &lt;user&gt; &lt;server_path&gt;
&lt;args&gt; <br>/etc/sendmail.cf 邮件程序 sendmail 的配置文件。比较隐晦，很难理解。 <br>/etc/sysconfig/network 指出 NETWORKING=yes 或 no。至少由 rc.sysinit 读取。 <br>/etc/sysconfig/network-scripts/if* Red Hat 网络配置脚本。 </p>

<p>系统命令</p>

<p>系统命令要独占地控制系统，并让一切正常工作。所有如 login（完成控制台用户身份验证阶段）或 bash（提供用户和计算机之间交互）之类的程序都是系统命令。因此，和它们有关的文件也特别重要。这一类别中有下列令用户和管理员感兴趣的文件。 </p>

<p>/etc/lilo.conf 包含系统的缺省引导命令行参数，还有启动时使用的不同映象。您在 LILO 引导提示的时候按 Tab 键就可以看到这个列表。 <br>/etc/logrotate.conf 维护 /var/log 目录中的日志文件。 <br>/etc/identd.conf
identd 是一个服务器，它按照 RFC 1413 文档中指定的方式实现 TCP/IP 提议的标准 IDENT
用户身份识别协议。identd 的操作原理是查找特定 TCP/IP
连接并返回拥有此连接的进程的用户名。作为选择，它也可以返回其它信息，而不是用户名。请参阅 identd 联机帮助页。 <br>/etc/ld.so.conf “动态链接程序”（Dynamic Linker）的配置。 <br>/etc/inittab
按年代来讲，这是 UNIX 中第一个配置文件。在一台 UNIX 机器打开之后启动的第一个程序是 init，它知道该启动什么，这是由于
inittab 的存在。在运行级别改变时，init 读取 inittab，然后控制主进程的启动。 <br>/etc/termcap 一个数据库，包含所有可能的终端类型以及这些终端的性能。 </p>

<p>守护进程</p>

<p>守护进程是一种运行在非交互模式下的程序。一般来说，守护进程任务是和联网区域有关的：它们等待连接，以便通过连接提供服务。Linux 可以使用从 Web 服务器到 ftp 服务器的很多守护进程。 </p>

<p>/etc/syslogd.conf syslogd 守护进程的配置文件。syslogd
是一种守护进程，它负责记录（写到磁盘）从其它程序发送到系统的消息。这个服务尤其常被某些守护进程所使用，这些守护进程不会有另外的方法来发出可能有问
题存在的信号或向用户发送消息。 </p>

<p>/etc/httpd.conf Web 服务器 Apache 的配置文件。这个文件一般不在 /etc 中。它可能在
/usr/local/httpd/conf/ 或 /etc/httpd/conf/ 中，但是要确定它的位置，您还需要检查特定的 Apache
安装信息。 <br>/etc/conf.modules or /etc/modules.conf kerneld 的配置文件。有意思的是，kerneld 并不是“作为守护进程的”内核。它其实是一种在需要时负责“快速”加载附加内核模块的守护进程。 </p>

<p>用户程序</p>

<p>在 Linux（和一般的 UNIX）中，有无数的“用户”程序。最常见的一种用户程序配置文件是
/etc/lynx.cfg。这是著名的文本浏览器 lynx
的配置文件。通过这个文件，您可以定义代理服务器、要使用的字符集等等。下面的代码样本展示了 lynx.cfg
文件的一部分，修改这部分代码可以改变 Linux 系统的代理服务器设置。缺省情况下，这些设置适用于在各自的 shell 中运行 lynx
的所有用户，除非某个用户通过指定 --cfg = "mylynx.cfg" 重设了缺省的配置文件。 </p>

<p>/etc/lynx.cfg 中的代理服务器设置 </p>

<p>.h1 proxy <br>.h2 HTTP_PROXY <br>.h2 HTTPS_PROXY <br>.h2 FTP_PROXY <br>.h2 GOPHER_PROXY <br>.h2 NEWS_PROXY <br>.h2 NNTP_PROXY <br># Lynx version 2.2 and beyond supports the use of proxy servers that can act as <br># firewall gateways and caching servers. They are preferable to the older <br># gateway servers. Each protocol used by Lynx can be mapped separately using <br># PROTOCOL_proxy environment variables (see Lynx Users Guide). If you have <br># not set them externally, you can set them at run time via this configuration file. <br># They will not override external settings. The no_proxy variable can be used <br># to inhibit proxying to selected regions of the Web (see below). Note that on <br># VMS these proxy variables are set as process logicals rather than symbols, to <br># preserve lowercasing, and will outlive the Lynx image. <br># <br>.ex 15 <br>http_proxy:http://proxy3.in.ibm.com:80/ <br>ftp_proxy:http://proxy3.in.ibm.com:80/ <br>#http_proxy:http://penguin.in.ibm.com:8080 <br>#ftp_proxy:http://penguin.in.ibm.com:8080/ </p>

<p>.h2 NO_PROXY <br># The no_proxy variable can be a comma-separated list of strings defining <br># no-proxy zones in the DNS domain name space. If a tail substring of the <br># domain-path for a host matches one of these strings, transactions with that <br># node will not be proxied. <br>.ex <br>no_proxy:demiurge.in.ibm.com, demiurge </p>

<p>更改配置文件</p>

<p>在更改配置文件时，如果程序不是由系统管理员或内核控制的，就要确保重新启动过使用该配置的程序。普通用户通常没有启动或停止系统程序和／或守护进程的权限。 </p>

<p>内核</p>

<p>更改内核中的配置文件会立即影响到系统。例如，更改 passwd 文件以增加用户将立即使该用户变为可用。而且任何 Linux 系统的
/proc/sys
目录中都有一些内核可调参数。只有超级用户可以得到对所有这些文件的写访问权力；其它用户只有只读访问权力。此目录中文件的分类的方式和 Linux
内核源代码的分类方式一样。此目录中的每个文件都代表一个内核数据结构，这些数据结构可以被动态地修改，从而改变系统性能。 </p>

<p>注意：在更改其中任何文件的任何值之前，您应该确保自己全面了解该文件，以避免对系统造成不可修复的损害。 <br>/proc/sys/kernel/ 目录中的文件 </p>

<p>文件名 描述 <br>threads-max 内核可运行的最大任务数。 <br>ctrl-alt-del 如果值为 1，那么顺序按下这几个键将“彻底地”重新引导系统。 <br>sysrq 如果值为 1，Alt-SysRq 则为激活状态。 <br>osrelease 显示操作系统的发行版版本号 <br>ostype 显示操作系统的类型。 <br>hostname 系统的主机名。 <br>domainname 网络域，系统是该网络域的一部分。 <br>modprobe 指定 modprobe 是否应该在启动时自动运行并加载必需的模块。 </p>

<p>守护进程和系统程序</p>

<p>守护进程是永远运行在后台的程序，它默默地执行自己的任务。常见的守护进程有 in.ftpd（ftp
服务器守护进程）、in.telnetd（telnet 服务器守护进程）和
syslogd（系统日志记录守护进程）。有些守护进程在运行时会严密监视配置文件，在配置文件改变时就会自动重新加载它。但是大多数守护进程并不会自动
重新加载配置文件。我们需要以某种方式“告诉”这些守护进程配置文件已经被发生了改变并应该重新加载。可以通过使用服务命令重新启动服务来达到这个目的
（在 Red Hat Linux 系统上）。 </p>

<p>例如，如果我们更改了网络配置，就需要发出： <br>service network restart。 </p>

<p>注意：这些服务最常见的是 /etc/rc.d/init.d/* 目录中存在的脚本，在系统被引导时由 init 启动。所以，您也可以执行如下操作来重新启动服务： <br>/etc/rc.d/init.d/&lt;script-for-the-service&gt; start | stop | status <br>start、stop 和 status 是这些脚本接受的输入值，用来执行操作。 </p>

<p>用户程序</p>

<p>用户或系统程序在每次启动时都会读取其配置文件。尽管如此，请记住，有些系统程序在计算机打开时情况不一样，它们的行为依赖于在 /etc/
中的配置文件中读到的内容。所以，用户程序第一次启动时将从 /etc/ 目录中存在的文件读取缺省配置。然后，用户可以通过使用 rc 和
.（点）文件来定制程序，正如下面一节所示。 </p>

<p>用户配置文件：.（点）文件和 rc 文件</p>

<p>我们已经看到怎样容易地配置程序。但是如果有的人不喜欢在 /etc/ 中配置程序的方式该怎么办呢？“普通”用户不能简单地进入 /etc
然后更改配置文件；从文件系统的角度来看，配置文件的所有者是 root
用户！这就是大多数用户程序都定义两个配置文件的原因：第一个是“系统”级别的，位于
/etc/；另一个属于用户“专用”，可以在他或她的主目录中找到。 </p>

<p>例如，我在我的系统中安装了非常有用的 wget 实用程序。/etc/ 中有一个 /etc/wgetrc 文件。在我的主目录中，有一个名为
.wgetrc 的文件，它描述了我定制的配置（只有在我，也就是用户运行 wget
命令时，才会加载这个配置文件）。其它用户在他们自己的主目录（/home/other）中也可以有 .wgetrc 文件；当然，只有这些用户运行
wget 命令时，才会读取这个文件。换句话说，/etc/wgetrc 文件为 wget 提供了“缺省”值，而
/home/xxx/.wgetrc 文件列举了某个用户的“定制项”。重要的是这只是“一般规则”，并非所有情况都如此。例如，一个象 pine
一样的程序，在 /etc/ 中并没有任何文件，它只在用户主目录中有一个定制配置文件，名为 .pinerc。其它程序可能只有 /etc/
中的缺省配置文件，而且可能不允许用户“定制”这些配置文件（/etc 目录中只有少数 config. 文件是这种情况）。 </p>

<p>通常使用的 rc 和 .（点）文件 </p>

<p>文件名 描述 <br>~/.bash_login 请参考“man bash”。如果 ~/.bash_profile 不存在，bash 则将 ~/.bash_login 作为 ~/.bash_profile 处理。 <br>~/.bash_logout 请参考“man bash”。在退出时由 bash 登录 shell 引用。 <br>~/.bash_profile 由 bash 登录 shell 引用 /etc/profile 之后引用。 <br>~/.bash_history 先前执行的命令的列表。 <br>~/.bashrc 请参考“man bash”。由 bash 非登录交互式 shell 引用（没有其它文件）。除非设置了 BASH_ENV 或 ENV，非交互式 shell 不引用任何文件。 <br>~/.emacs 启动时由 emac 读取。 <br>~/.forward <br>如果这里包含一个电子邮件地址，那么所有发往 ~ 的所有者的邮件都会被转发到这个电子邮件地址。 <br>~/.fvwmrc ~/.fvwm2rc fvwm 和 fvwm2（基本的 X Window 管理器）的配置文件。 <br>~/.hushlogin 请参考“man login”。引起“无提示”登录（没有邮件通知、上次登录信息或者 MOD 信息）。 <br>~/.mail.rc 邮件程序的用户初始化文件。 <br>~/.ncftp/
ncftp 程序的目录；包含书签、日志、宏、首选项和跟踪信息。请参阅 man ncftp。ncftp
的目的是为因特网标准文件传输协议（Internet standard File Transfer
Protocol）提供一个强大而灵活的接口。它旨在替换系统所使用的标准的 ftp 程序。 <br>~/.profile 请参考“man
bash”。如果 ~/.bash_profile 和 ~/.bash_login 文件不存在，bash 则将 ~/.profile 作为
~/.bash_profile 处理，并被其它继承 Bourn 的 shell 使用。 <br>~/.pinerc Pine 配置 <br>~/.muttrc Mutt 配置 <br>~/.exrc 这个文件可以控制 vi 的配置。 <br>示例：set ai sm ruler <br>在此文件中写入上面一行会让 vi 设置自动缩进、匹配括号、显示行号和行-列这几个选项。 <br>~/.vimrc 缺省的“Vim”配置文件。和 .exrc 一样。 <br>~/.gtkrc GNOME 工具包（GNOME Toolkit）。 <br>~/.kderc KDE 配置。 <br>~/.netrc ftp 缺省登录名和密码。 <br>~/.rhosts 由 r- 工具（如 rsh、rlogin 等等）使用。因为冒充主机很容易，所以安全性非常低。 <br>必须由用户（~/ 的所有者）或超级用户拥有。 <br>列出一些主机，用户可以从这些主机访问该帐号。 <br>如果是符号链接则被忽略。 <br>~/.rpmrc 请参阅“man rpm”。如果 /etc/rpmrc 不存在则由 rpm 读取。 <br>~/.signature 消息文本，将自动附加在从此帐号发出的邮件末尾。 <br>~/.twmrc twm（The Window Manager）的配置文件。 <br>~/.xinitrc 启动时由 X 读取（而不是由 xinit 脚本读取）。通常会启动一些程序。 <br>示例：exec /usr/sbin/startkde <br>如果该文件中存在上面这行内容，那么在从这个帐号发出 startx 命令时，这一行就会启动“KDE 视窗管理器”（KDE Window Manager）。 <br>~/.xmodmaprc 此文件被传送到 xmodmap 程序，而且可以被命名为任何文件（例如 ~/.Xmodmap 和 ~/.keymap.km）。 <br>~/.xserverrc 如果 xinit 可以找到要执行的 X，xinit 就会将该文件作为 X 服务器运行。 <br>~/News/Sent-Message-IDs gnus 的缺省邮件历史文件。 <br>~/.Xauthority 由 xdm 程序读和写，以处理权限。请参阅 X、xdm 和 xauth 联机帮助页。 <br>~/.Xdefaults, <br>~/.Xdefaults-hostname 在主机 hostname 的启动过程中由 X 应用程序读取。如果找不到 -hostname 文件，则查找 .Xdefaults 文件。 <br>~/.Xmodmap 指向 .xmodmaprc；Red Hat 有使用这个名称的 .xinitrc 文件。 <br>~/.Xresources 通常是传送到 xrdb 以加载 X 资源数据库的文件的名称，旨在避免应用程序需要读取一个很长的 .Xdefaults 文件这样的情况。（有些情况曾经使用了 ~/.Xres。） <br>~/mbox <br>用户的旧邮件。</p>
<img src ="http://www.cnitblog.com/ygb/aggbug/5511.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/ygb/" target="_blank">YGB.Grushy</a> 2005-12-17 16:43 <a href="http://www.cnitblog.com/ygb/articles/5511.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>UNIX系统下各文件的作用</title><link>http://www.cnitblog.com/ygb/articles/5510.html</link><dc:creator>YGB.Grushy</dc:creator><author>YGB.Grushy</author><pubDate>Sat, 17 Dec 2005 08:42:00 GMT</pubDate><guid>http://www.cnitblog.com/ygb/articles/5510.html</guid><wfw:comment>http://www.cnitblog.com/ygb/comments/5510.html</wfw:comment><comments>http://www.cnitblog.com/ygb/articles/5510.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/ygb/comments/commentRss/5510.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/ygb/services/trackbacks/5510.html</trackback:ping><description><![CDATA[/etc/auth:安全数据库文件 <br>
/etc/auth/subsystems:带保护的子系统授权数据库 <br>
/etc/auth/system:整个系统范围内的授权数据 <br>
/etc/conf:系统配置的主目录 <br>
/etc/conf/bin:与unix核心有关的命令 <br>
/etc/conf/cf.d：包含了用于连接unix核心所需的配置文件和主要的系统配置命令。 <br>
/etc/conf/init.d：系统串口状态描述文件 <br>
/etc/conf/mfsys.d：unix系统上几个文件系统描述信息文件 <br>
/etc/conf/node.d：设备节点描述文件 <br>
/etc/conf/pack.d：核心的目标模块 <br>
/etc/conf/pack.d/Sdsk：SCSI硬盘驱动程序 <br>
/etc/conf/pack.d/Srom：SCSI CD-ROM驱动程序 <br>
/etc/conf/pack.d/Stp：SCSI磁带接口卡驱动程序 <br>
/etc/conf/pack.d/ad：ADAPTEC 154X SCSI接口卡驱动程序 <br>
/etc/conf/pack.d/aio：异步硬盘I/O驱动程序 <br>
/etc/conf/pack.d/astmf：增强型VGA显示接口卡 <br>
/etc/conf/pack.d/aud：系统审计程序 <br>
/etc/conf/pack.d/busmouse：总线形鼠标驱动程序 <br>
/etc/conf/pack.d/cdb：MC146818驱动程序（CMOS时钟） <br>
/etc/conf/pack.d/cdt：CD-ROM/TAPE驱动程序 <br>
/etc/conf/pack.d/cga：IBM彩色图形接口板驱动程序 <br>
/etc/conf/pack.d/ciha:386/486CBUS SCSI硬盘控制卡驱动程序 <br>
/etc/conf/pack.d/clone：（安装X sight所需）clone模块 <br>
/etc/conf/pack.d/cn：主控台驱动程序 <br>
/etc/conf/pack.d/cpqs:Compaq SCSI磁带接口卡驱动程序 <br>
/etc/conf/pack.d/cpyrt：版权设备驱动程序 <br>
/etc/conf/pack.d/cr_uni: Corollary显示接口卡驱动程序 <br>
/etc/conf/pack.d/ct：Wangtec盒式带驱动程序 <br>
/etc/conf/pack.d/da：VGA、EGA、CGA设备驱动程序 <br>
/etc/conf/pack.d//dda:merge和vp/ix直接设备访问驱动程序 <br>
/etc/conf/pack.d/dk：硬盘定位（Layout)支持驱动程序 <br>
/etc/conf/pack.d/dma：DMA通道驱动程序 <br>
/etc/conf/pack.d/dos：DOS设备驱动程序 <br>
/etc/conf/pack.d/dpt：DPT硬盘控制器驱动程序 <br>
/etc/conf/pack.d/du：RFS驱动程序 <br>
/etc/conf/pack.d/ecc：内存错误校验程序模块 <br>
/etc/conf/pack.d/ega：增强型图形接口板驱动程序 <br>
/etc/conf/pack.d/eiad：ADAPTEC174X SCSI接口卡驱动程序 <br>
/etc/conf/pack.d/eisarom：EISAROM驱动程序 <br>
/etc/conf/pack.d/err；错误信息模块 <br>
/etc/conf/pack.d/esc：OLIVETTI ESC-1硬盘接口板驱动模块 <br>
/etc/conf/pack.d/esdi：微通道结构机器上的ESDI硬盘控制器驱动程序 <br>
/etc/conf/pack.d/ev：事件驱动程序 <br>
/etc/conf/pack.d/evld：事件线规程驱动程序 <br>
/etc/conf/pack.d/fd：软盘驱动程序 <br>
/etc/conf/pack.d/fdha：FUTURE DOMAIN磁带主接口卡驱动程序 <br>
/etc/conf/pack.d/first：MPX（多处理器）核心挂接模块 <br>
/etc/conf/pack.d/fl5：软盘驱动程序 <br>
/etc/conf/pack.d/fp：浮点运算器驱动程序 <br>
/etc/conf/pack.d/ft：软盘磁带驱动程序 <br>
/etc/conf/pack.d/hd：ROOT硬盘驱动程序 <br>
/etc/conf/pack.d/hf：IBM HARD FILE接口卡驱动程序 <br>
/etc/conf/pack.d/hs：ISO-9660文件系统设备驱动程序 <br>
/etc/conf/pack.d/ida：IDA硬盘驱动程序 <br>
/etc/conf/pack.d/ida0：COMPAQ IDA硬盘控制器驱动程序 <br>
/etc/conf/pack.d/ida1： <br>
/etc/conf/pack.d/ipc：进程间通讯模块 <br>
/etc/conf/pack.d/ir：IRWIN磁带驱动程序 <br>
/etc/conf/pack.d/itimer：间隔定时器驱动程序 <br>
/etc/conf/pack.d/kbmouse：键盘鼠标驱动程序 <br>
/etc/conf/pack.d/kernel：核心的目标模块 <br>
/etc/conf/pack.d//kprf： <br>
/etc/conf/pack.d//ldterm：流伪TTY设备线规程规模 <br>
/etc/conf/pack.d/log：系统信息日志程序 <br>
/etc/conf/pack.d/mc：IRWIN MINI磁带驱动程序 <br>
/etc/conf/pack.d/merge：merge模块 <br>
/etc/conf/pack.d/mm：内存驱动模块 <br>
/etc/conf/pack.d/mono：单色图形接口卡驱动程序 <br>
/etc/conf/pack.d/msg：消息驱动程序 <br>
/etc/conf/pack.d/mskdb：核心调试程序 <br>
/etc/conf/pack.d/nfc：XNET驱动模块 <br>
/etc/conf/pack.d/nmi：不可屏蔽的中断处理程序 <br>
/etc/conf/pack.d/omti：OMTI硬盘驱动程序 <br>
/etc/conf/pack.d/pa：并行打印机驱动程序 <br>
/etc/conf/pack.d/pic：8259可编程中断控制器驱动程序 <br>
/etc/conf/pack.d/pit：8254可编程中断定时器驱动程序 <br>
/etc/conf/pack.d/prf：FROFILE驱动程序 <br>
/etc/conf/pack.d/ptem：at&amp;t流伪TTY设备驱动程序 <br>
/etc/conf/pack.d/ptm：at&amp;t流伪TTY设备驱动程序（主） <br>
/etc/conf/pack.d/pts：at&amp;t流伪TTY设备驱动程序（从） <br>
/etc/conf/pack.d/ram：RAM盘驱动程序 <br>
/etc/conf/pack.d/rtc：实时时钟驱动模块 <br>
/etc/conf/pack.d/s5：S5文件系统驱动模块 <br>
/etc/conf/pack.d/s52k：S52K文件系统驱动模块 <br>
/etc/conf/pack.d/scodb：核心调试程序 <br>
/etc/conf/pack.d/sec：C2安全级驱动模块 <br>
/etc/conf/pack.d/sem：AT&amp;T信号灯驱动模块 <br>
/etc/conf/pack.d/shm：AT&amp;T共享内存驱动程序 <br>
/etc/conf/pack.d/sio：串行I/O驱动程序 <br>
/etc/conf/pack.d/sleeper：定时的睡眠/唤醒驱动程序 <br>
/etc/conf/pack.d/sp：（安装XSIGHT所需）流管道模块 <br>
/etc/conf/pack.d/spad：ADAPTEC 152X SCSI主接口驱动程序 <br>
/etc/conf/pack.d/spm：(安装XSIGHT所需）伪鼠标 <br>
/etc/conf/pack.d/spt：（安装XSIGHT所需）非流伪TTY驱动程序 <br>
/etc/conf/pack.d/ss：SUN RIVER STUB模块 <br>
/etc/conf/pack.d/str：流驱动模块接口 <br>
/etc/conf/pack.d/string：字符串设备驱动程序 <br>
/etc/conf/pack.d/sumo：STORAGE PLUS SCSI-AT硬盘控制卡驱动程序 <br>
/etc/conf/pack.d/sxt：SHELL分层驱动程序 <br>
/etc/conf/pack.d/sy：/DEV/TTY主控制台目标模块 <br>
/etc/conf/pack.d/timod：TLI交换操作模块 <br>
/etc/conf/pack.d/tirdwr：TLI读/写模块 <br>
/etc/conf/pack.d/tmcha：FUTURE DOMAIN TMC-8X0 SCSI接口卡驱动程序 <br>
/etc/conf/pack.d//vga：VGA图形接口板驱动程序 <br>
/etc/conf/pack.d/vpld：VP/IX线规程模块 <br>
/etc/conf/pack.d/vpt：VP/IX的TTY驱动程序 <br>
/etc/conf/pack.d/vx：虚拟8086驱动程序 <br>
/etc/conf/pack.d/wd：WD硬盘控制器驱动程序 <br>
/etc/conf/pack.d/wd0：WD第一号硬盘控制器驱动程序 <br>
/etc/conf/pack.d/wd1：WD第二号硬盘控制器驱动程序 <br>
/etc/conf/pack.d/wdex：WD 7000 EX SCSI主接口卡驱动程序 <br>
/etc/conf/pack.d/wdha：WD 7000 SCSI主接口卡驱动程序 <br>
/etc/conf/pack.d/weitek：WEITEK协处理器驱动程序 <br>
/etc/conf/pack.d/xsd：XENIX共享数据库驱动程序 <br>
/etc/conf/pack.d/xsem：XENIX信号灯驱动程序 <br>
/etc/conf/pack.d/xt：BLIT包协议驱动程序 <br>
/etc/conf/pack.d/xx：XENIX文件系统驱动程序 <br>
/etc/copyrights:版权信息 <br>
/etc/default:整个系统默认信息文件 <br>
/etc/fscmd.d:unix系统所支持的文件系统子目录 <br>
/etc/fscmd.d/AFS：用于AFS类型文件系统的维护命令 <br>
/etc/fscmd.d/DOS：用于DOS类型文件系统的维护命令 <br>
/etc/fscmd.d/EAFS：用于EAFS类型文件系统的维护命令 <br>
/etc/fscmd.d/HS：决定文件系统类型的命令 <br>
/etc/fscmd.d/S51K：用于S51K类型文件系统的维护命令 <br>
/etc/fscmd.d/S52K：用于S52K类型文件系统的维护命令 <br>
/etc/fscmd.d/S52K：用于XENIX类型文件系统的维护命令 <br>
/etc/idrc.d：空目录 <br>
/etc/log：系统的日志文件目录 <br>
/etc/perms：unix及其集成产品的名称、版本号等 <br>
/etc/perms/bundle：unix集成产品清单 <br>
/etc/ps：ps命令所使用的数据文件 <br>
/etc/rc.d/0：系统初始化 <br>
/etc/rc.d/1：启动系统的守护进程 <br>
/etc/rc.d/2：系统引导后，安装文件系统 <br>
/etc/rc.d/3：恢复文件系统 <br>
/etc/rc.d/4：清除/tmp下的临时文件 <br>
/etc/rc.d/5：硬件下载 <br>
/etc/rc.d/6：核心软件初始化 <br>
/etc/rc.d/7：启动另一批守护进程 <br>
/etc/rc.d/8：执行用户定义的命令 <br>
/etc/rc.d/9：引导日志 <br>
/etc/rc0.d：与系统启动相关的shell正文程序 <br>
/etc/rc2.d：与系统启动相关的shell正文程序 <br>
/etc/rc3.d：空目录 <br>
/etc/shutdown.d：空目录 <br>
./install：空目录 <br>
./lost+found：系统维护目录 <br>
./mnt：安装文件系统目录 <br>
./opt：存放系统可选的软件 <br>
./shlib：unix共享库的代码目录 <br>
./tcb：受托系统文件目录 <br>
./tcb/audittmp：审计数据临时目录 <br>
/tcb/audittmp/audit1：审计数据采集目录 <br>
/tcb/audittmp/audit2：审计数据采集目录 <br>
/tcb/bin：与受托系统相关的一组命令 <br>
/tcb/files；与系统安全相关的数据文件 <br>
/tcb/files/audit：审计子系统工作文件 <br>
/tcb/files/auditrparms；审计子系统工作文件 <br>
/tcb/files/auth；用户鉴别信息文件 <br>
/tcb/files/subsys：子系统目录 <br>
/tcb/lib：受托系统的一组可执行程序 <br>
/tcb/lib/auth_scripts：修改口令字，删除用户组， <br>
<br>
增加伪终端等一组shell正文程序 <br>
/tcb/lib/relax：安全级子目录 <br>
/tcb/lib/relax/high：高安全级的shell正文程序 <br>
/tcb/lib/relax/improved；改进安全级的shell正文程序 <br>
/tcb/lib/relax/low：低安全级的shell正文程序 <br>
tcb/lib/relax/traditional：传统安全级的shell正文程序 <br>
/usr/include/sys/ci：多处理器使用的头文件 <br>
/usr/include/sys/fs：文件系统有关的头文件 <br>
/usr/ingres：ingres数据库目录 <br>
/usr/lbin：安装应用软件的工具 <br>
/usr/lib/console：主控台显示所使用的字模 <br>
/usr/spool/mmdf：mmdf邮件系统工作目录 <br>
/usr/spool/mail：邮件工作目录 <br>
/usr/spool/lp/model：各种型号打印机接口程序 <br>
/usr/spool/lp：打印机工作目录 <br>
/usr/spool/lp/fifos：命名的管道 <br>
/usr/spool/lp/logs：打印命令日志 <br>
/usr/spool/cron：时钟守护进程工作目录； <br>
/usr/mmdf：mmdf邮件系统主目录 <br>
/usr/mmdf/bin：mmdf邮件系统命令 <br>
/usr/mmdf/chans：mmdf所使用的通道 <br>
/usr/mmdf/log：mmdf日志 <br>
/usr/mmdf/table：mmdf所使用的各种文件 <br>
/usr/lib/uucp：uucp所使用的命令和拨号程序 <br>
/usr/lib/vidconf：视频配置目录 <br>
/usr/lib/vidi：屏幕显示所使用的字模 <br>
/usr/man：unix在线手册目录 <br>
/usr/man/cat.ADM：压缩形式的系统管理命令在线手册 <br>
/usr/lib/terminfo/w：Wyse终端 <br>
/usr/lib/terminfo/v：DEC终端 <br>
/usr/lib/terminfo/t：TEKTRONTX终端 <br>
/usr/lib/terminfo/h:Hazetine.HP等终端 <br>
/usr/lib/terminfo/i:IBM终端 <br>
/usr/lib/terminfo/n:NCR等终端 <br>
/usr/lib/terminfo/q: Qume,Qvt终端 <br>
/usr/lib/terminfo/b:AT&amp;T 等终端 <br>
/usr/lib/terminfo/c:HUMAN designed system终端 <br>
/usr/lib/terminfo/d: DEC,LEAR Siegler 终端 <br>
/usr/lib/terminfo/e: Miscellaneous, Beehive终端 <br>
/usr/lib/terminfo/f: Fortune 终端 <br>
/usr/lib/terminfo/g: Ann ArBOR终端 <br>
/usr/lib/terminfo/8：智能系统公司终端 <br>
/usr/lib/terminfo/9：TELEVIDEO终端 <br>
/usr/lib/terminfo/B：AT&amp;T终端 <br>
/usr/lib/terminfo/a：ANN ARBOR，AT&amp;T，ANST Generic等 <br>
/usr/lib/terminfo/1：DATAMEDIA，GENERAL终端 <br>
/usr/lib/terminfo/2：HP系列终端 <br>
/usr/lib/terminfo/3：IBM，TELERAY等终端 <br>
/usr/lib/terminfo/4：ANN ARBOR，AT&amp;T等终端 <br>
/usr/lib/terminfo/5：AT&amp;T系列终端 <br>
/usr/lib/terminfo/6:AT&amp;T终端 <br>
/usr/lib/terminfo/7:AT&amp;T终端 <br>
/usr/lib/terminfo：终端，打印机性能数据库 <br>
/usr/lib/sco/pcap：打印机的初始描述文件 <br>
/usr/lib/mouse：鼠标功能的定义 <br>
/usr/lib/mkusr/uucp：创建uucp用户所需要运行的正文程序 <br>
/usr/lib/mkusr/sh：创建使用sh的用户时所需要运行的正文程序 <br>
/usr/lib/mkusr/scosh：创建使用scosh的用户时所需要运行的正文程序 <br>
/usr/lib/mkusr/rsh:创建使用rsh的用户时所需要运行的正文程序 <br>
/usr/lib/mkusr/rksh:创建使用rksh的用户时所需要运行的正文程序 <br>
/usr/lib/mkusr/lib:由mkusr,init使用的shell函数库 <br>
/usr/lib/mkusr/ksh:创建使用ksh的用户时所需要运行的正文程序 <br>
/usr/lib/mkusr/csh:创建使用csh的用户时所需要运行的正文程序 <br>
/usr/lib/mkdev：设备和文件系统配置目录 <br>
/usr/lib/mkdev/perms：软盘，硬盘，打印机，串口有关信息 <br>
/usr/lib/lang:系统所支持的多种语言 <br>
/usr/lib/lang.src：多种语言的字符集源文件 <br>
/usr/lib/mail：邮件系统的部分命令 <br>
/usr/lib/mapchan：键盘变换文件 <br>
/usr/lib/keyboard:键盘数据文件 <br>
/usr/lib/keyboard/string.d：字符串与功能键对照表 <br>
/usr/lib/event：鼠标设备文件及配置信息 <br>
/usr/lib/goodpw：对口令字的描述 <br>
/usr/lib/goodpw/checks:口令字检查<img src ="http://www.cnitblog.com/ygb/aggbug/5510.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/ygb/" target="_blank">YGB.Grushy</a> 2005-12-17 16:42 <a href="http://www.cnitblog.com/ygb/articles/5510.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>