Wednesday, June 25, 2008

Linux directory structure

  • Home Directories: /root,/home/username
  • User Executables: /bin, /usr/bin, /usr/local/bin
  • System Executables: /sbin, /usr/sbin, /usr/local/sbin
  • Other Mountpoints: /media, /mnt
  • Configuration: /etc
  • Temporary Files: /tmp
  • Kernels and Bootloader: /boot
  • Server Data: /var, /srv
  • System Information: /proc, /sys
  • Shared Libraries: /lib, /usr/lib, /usr/local/lib
  • Documents of most installed package: /usr/share/doc
  • New user template files: /etc/skel (all the files of folders under this directory will copy to /home/new user/* by useradd command)

No comments: