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

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. 

主站蜘蛛池模板: 巧家县| 隆安县| 合山市| 应用必备| 徐闻县| 交城县| 民丰县| 尚义县| 宁安市| 崇文区| 乌拉特后旗| 黄冈市| 陵川县| 锦屏县| 眉山市| 探索| 台中县| 皋兰县| 稻城县| 汉阴县| 郸城县| 互助| 衢州市| 伊川县| 凌云县| 渭南市| 永靖县| 琼中| 广东省| 自治县| 固安县| 尚志市| 安泽县| 土默特左旗| 临江市| 石楼县| 东乌珠穆沁旗| 安乡县| 莱州市| 莱州市| 大同县|