LNUX learning notes

Linux directory schema

/ root directory

/bin commonly used command binary file directory


/boot stores the files that must be read when the system starts, including the core (kernel), including the

/boot/grub/menu.lst GRUB sets

/boot/vmlinuz kernel

/boot/initrd core decompression required RAM Disk

/dev system peripherals

/etc system configuration file

/etc/DIR_COLORS sets the color

/etc/HOSTNAME sets the node name

of the user

/etc/NETWORKING only YES indicates that the network has


/etc/host.conf file shows how the user’s system queries the node name

/etc/hosts sets the user’s own IP and name corresponding table


/etc/hosts.allow setting allows inetd machines to use


/etc/hosts.deny setting does not allow inetd machines to use

/etc/hosts.equiv sets remote machine without password

/etc/inetd.conf sets the configuration of the system network daemon inetd

/etc/gateways sets router

/etc/protocols sets the protocol supported by the system

/etc/named.boot sets this machine as the name server configuration file

/etc/sysconfig/network-scripts/ifcfg-eth0 sets IP

/etc/resolv.conf sets DNS

/etc/X11 X Window configuration file, xorg.conf or XF86Config, these two X Server profiles

/etc/fstab records boot to mount file system

When the

/etc/inittab sets the system startup, the init process will set the system to what kind of runlevel