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

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. 

主站蜘蛛池模板: 皮山县| 泰安市| 象州县| 乐亭县| 贞丰县| 商南县| 电白县| 田东县| 阳城县| 丰宁| 江口县| 霍邱县| 比如县| 蕲春县| 家居| 成武县| 额尔古纳市| 南康市| 行唐县| 长沙县| 紫云| 方正县| 金沙县| 平利县| 扬中市| 中江县| 寿阳县| 东平县| 巴东县| 桦南县| 锡林浩特市| 开远市| 华池县| 延庆县| 常州市| 宁津县| 新安县| 天峨县| 高阳县| 门源| 新晃|