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

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. 

主站蜘蛛池模板: 旌德县| 柳河县| 贺州市| 花垣县| 天柱县| 防城港市| 安塞县| 十堰市| 昌黎县| 峨眉山市| 松滋市| 宝坻区| 凤山县| 怀仁县| 昌吉市| 临邑县| 洮南市| 兴隆县| 湖北省| 麦盖提县| 闽清县| 威信县| 克什克腾旗| 千阳县| 江都市| 耒阳市| 阿克陶县| 屯留县| 蒙城县| 万州区| 罗平县| 高台县| 丰台区| 册亨县| 加查县| 香港 | 永康市| 疏附县| 游戏| 朝阳县| 衡山县|