/etc/motd(message of the day)
在這個檔裡面可以寫一些 message ,而這些 message 會在 login shell 之前被顯
示出來.通常都是 system administrator 要告知 user 的一些訊息. 而關於每次都
會改變的問題,在前面/etc/issue時已提出過,記得 mark 起來就是樂.
/etc/profile
profile 這個檔是 bash 這個 shell 所用的,profile 之於bash就好像 cshrc 之於
csh. 同樣的,/etc 下的 profile 也是 SA 在維護的,主要是放著全域的設定(Global
Setting)而每個 user 在自己的 Home Directory 都可以有各人的.profile.
/etc/protocols
假如你為樂某些目地,而寫樂自己的 protocol,那你就必須把它列在這個檔案中,這
樣 inetd 才會管理一些 daemons 去用它這個檔案每列的格式如下,# 之後的是注解:
Protolcol Name Portocol Number Aliases
協議名 代碼 別名
ip 0 IP # internet protocol,pseudo protocol number
icmp 1 ICMP # internet control message protocol
igmp 2 IGMP # internet group multicast protocol
ggp 3 GGP # gateway-gateway protocol
tcp 6 TCP # transmission control protocol
pup 12 PUP # PARC universal packet protocol
udp 17 UDP # user datagram protocol
idp 22 IDP # WhatsThis?
raw 255 RAW # RAW IP interface
/etc/resolv.conf
這裡面記載著你機器的 domain name 及 name server 的 IP address,name server
可以自己加入.name server 可不要隨便就去掉,否則,就會地址沒有辦法被解譯,故會
有 Host name lookup failure 的信息.