官术网_书友最值得收藏!

Linux directory structure

There is a standard structure for Linux directories. According to Linux, generally, everything is a file, even directories and devices. In order to work properly, Linux manages these files in a specific way under a hierarchical design:

  • /root: All the files and directories start from this directory
  • /home: Contains personal files of all users
  • /bin: Contains all the binaries (executables)
  • /sbinLike /bin, but it contains the system binaries
  • /lib: Contains required library files
  • /usr: Contains binaries used by a normal user
  • /opt: Contains optional add-on applications
  • /etc: Contains all the required configuration files for the programs
  • /dev: Contains device files
  • /media: Contains files of temporary removable devices
  • /mnt: Contains mount point for filesystems
  • /boot: Contains boot loader files
  • /tmp: Contains temporary files
  • /var: Contains variable files, such as logs
  • /proc: Contains information about the system processes:

There are many types of file in Linux operation systems. Each file is represented by a specific symbol—directories, regular files, and sockets, which are communication techniques between applications. 

主站蜘蛛池模板: 尉氏县| 万年县| 南宫市| 宣武区| 青阳县| 长沙市| 井陉县| 九台市| 塔河县| 闸北区| 通山县| 高陵县| 盐池县| 凭祥市| 鹿泉市| 长白| 惠东县| 榆社县| 酉阳| 安多县| 浦东新区| 沁水县| 武威市| 织金县| 安庆市| 邮箱| 布拖县| 蒙城县| 张家川| 京山县| 津南区| 闵行区| 海口市| 手游| 昌邑市| 封丘县| 天祝| 绥化市| 苍山县| 壤塘县| 镇坪县|