Filesystem Hierarchy Standard (Unix, Linux etc)
http://www.pathname.com/fhs/
/boot -- Static files of the boot loader
Purpose: contains everything required for the boot process except configuration files not needed at boot time and the map installer. Thus /boot stores data that is used before the kernel begins executing user-mode programs. This may include saved master boot sectors and sector map files.
/root -- Home directory for the root user (optional)
/bin -- Essential user command binaries (for use by all users)
Purpose: contains commands that may be used by both the system administrator and by users, but which are required when no other filesystems are mounted (e.g. in single user mode). It may also contain commands which are used indirectly by scripts
/sbin -- System Binaries
Purpose: Utilities used for system administration (and other root-only commands) are stored in /sbin, /usr/sbin, and /usr/local/sbin. /sbin contains binaries essential for booting, restoring, recovering, and/or repairing the system in addition to the binaries in /bin.
/lib -- Essential shared libraries and kernel modules
Purpose: contains those shared library images needed to boot the system and run the commands in the root filesystem, ie. by binaries in /bin and /sbin.
/lib<qual> -- Alternate format essential shared libraries (optional)
Purpose: There may be one or more variants of the /lib directory on systems which support more than one binary format requiring separate libraries
/opt -- Add-on application software packages
Purpose: /opt is reserved for the installation of add-on application software packages. A package to be installed in /opt must locate its static files in a separate /opt/<package> or /opt/<provider> directory tree, where <package> is a name that describes the software package and <provider> is the provider’s LANANA registered name
/srv -- Data for services provided by this system.
/home -- User home directories (optional)
Purpose: /home is a fairly standard concept, but it is clearly a site-specific filesystem. 9 The setup will differ from host to host. Therefore, no program should rely on this location
/dev -- Device Files
Purpose: The /dev directory is the location of special or device files
/etc -- Host-specific system configuration
Purpose: The /etc hierarchy contains configuration files. A "configuration file" is a local file used to control the operation of a program; it must be static and cannot be an executable binary
/etc/opt -- Configuration files for /opt
Purpose: Host-specific configuration files for add-on application software packages must be installed within the directory /etc/opt/<subdir>, where <subdir> is the name of the subtree in /opt where the static data from that package is stored.
/media -- Mount point for removeable media
Purpose: This directory contains subdirectories which are used as mount points for removeable media such as floppy disks, cdroms and zip disks
/mnt -- Mount point for a temporarily mounted filesystem
Purpose: This directory is provided so that the system administrator may temporarily mount a filesystem as needed.
/tmp -- Temporary files
Purpose: The /tmp directory must be made available for programs that require temporary files.
/usr -- /usr is shareable, read-only data
/usr/bin -- Most user commands
Purpose: This is the primary directory of executable commands on the system.
/usr/include -- Directory for standard include files
Purpose: This is where all of the system’s general-use include files for the C programming language should be placed.
/usr/lib -- Libraries for programming and packages
Purpose: /usr/lib includes object files, libraries, and internal binaries that are not intended to be executed directly by users or shell scripts.
/usr/local -- Local hierarchy
Purpose: The /usr/local hierarchy is for use by the system administrator when installing software locally. Locally installed software must be placed within /usr/local rather than /usr unless it is being installed to replace or upgrade software in /usr.
/usr/sbin -- Non-essential standard system binaries
/usr/share -- Architecture-independent data
Purpose: Any program or package which contains or requires data that doesn’t need to be modified should sore that data in /usr/share(or /usr/local/share, if installed locally).
/usr/share/man -- Manual pages
/usr/src -- Source code
Purpose: Source code may be place placed in this subdirectory, only for reference purposes.
/var -- Variable data files
Purpose: This includes spool directories and files, administrative and logging data, and transient and temporary files.
/var/cache -- Application cache data
/var/crash -- System crash dumps
/var/lib -- Variable state information
/var/lock -- Lock files
/var/opt -- for /opt
/var/run -- Run-time variable data
Purpose: This directory contains system information data describing the system since it was booted
/var/spool -- Applicaton spool data
Purpose: /var/spool contains data which is awaiting some kind of later processing. Data in /var/spool represents work to be done in the future (by a program, user, or administrator); often data is deleted after it has been processed.
/var/temp -- Temporary files preserved between system reboots, Data stored in /var/tmp is more persistent than data in /tmp.
/var/yp -- Network Information Service (NIS) database files (optional)
Liniux-Specific
/proc -- Kernel and process information virtual filesystem
Filesystem Hierarchy Standard (Unix, Linux etc)的更多相关文章
- The Filesystem Hierarchy Standard of Linux
The Filesystem Hierarchy Standard of Linux linux directory https://zhuanlan.zhihu.com/p/23862856 htt ...
- Linux & Filesystem Hierarchy Standard
Linux & Filesystem Hierarchy Standard The Filesystem Hierarchy Standard of Linux https://zhuanla ...
- Linux 文件系统简介(FHS:Filesystem Hierarchy Standard)
一,linux的目录结构 /bin:所有用户都可以使用的可执行程序 /sbin:系统管理员使用的可执行程序 /boot:引导加载器必须用到的静态文件:kernel,initramfs,grub等. / ...
- Linux:文件系统层次结构标准(Filesystem Hierarchy Standard)
Linux FHS_2.3标准文档:http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf
- Linux(二)—— Unix&Linux 的基本概念
Linux(二)-- Unix&Linux 的基本概念 计算机 = 主机(host)+ 终端(terminal) 主机 = 内核 + 实用工具 内核(kernel) 当计算机启动时,计算机要经 ...
- Linux(二) - Unix&Linux 基本概念
主机 = 内核 + 实用工具 内核(kernel) 当计算机启动时,计算机要经历一系列动作,这些动作构成了引导过程.引导过程的最后一个动作是启动一个非常复杂的程序,该程序就被称为内核(Kernel) ...
- 50个最常用的UNIX/Linux命令
转自http://get.jobdeer.com/493.get 1. tar command examples Create a new tar archive. $ tar cvf archive ...
- UNIX / Linux: 2 Ways to Add Swap Space Using dd, mkswap and swapon
UNIX / Linux: 2 Ways to Add Swap Space Using dd, mkswap and swapon by RAMESH NATARAJAN on AUGUST 18, ...
- 10+ commonly using find command switches with example Unix/Linux
http://crybit.com/find-command-usage-with-example-unixlinux/ find command is one of the best search ...
随机推荐
- 每天记录一点:NetCore获得配置文件 appsettings.json vue-router页面传值及接收值 详解webpack + vue + node 打造单页面(入门篇) 30分钟手把手教你学webpack实战 vue.js+webpack模块管理及组件开发
每天记录一点:NetCore获得配置文件 appsettings.json 用NetCore做项目如果用EF ORM在网上有很多的配置连接字符串,读取以及使用方法 由于很多朋友用的其他ORM如S ...
- iOS开发中訪问相冊摄像像头
iOS开发中訪问相冊摄像像头 源代码下载地址http://download.csdn.net/download/jingjingxujiayou/7270479 在AppDelegate.m文件里 - ...
- MySQL系列:innodb源代码分析之内存管理
在innodb中实现了自己的内存池系统和内存堆分配系统,在innodb的内存管理系统中,大致分为三个部分:基础的内存块分配管理.内存伙伴分配器和内存堆分配器.innodb定义和实现内存池的主要目的是提 ...
- CSS和JS结合控制样式
CSS控制样式,毋庸置疑.但有时,仅靠CSS却很难控制好,比如说,页面在多种条件下进行不同的呈现:或者运行过程中,会发生变化,比如说,左侧的菜单栏收缩了,那么右侧的宽度就变大了. 就拿这个元素的wid ...
- FFmpeg解码视频帧为jpg图片保存到本地
FFmpeg解码视频帧为jpg图片保存到本地 - CSDN博客 https://blog.csdn.net/qq_28284547/article/details/78151635
- 简单脱壳教程笔记(7)---手脱PECompact2.X壳
本笔记是针对ximo早期发的脱壳基础视频教程.整理的笔记.本笔记用到的工具下载地址: http://download.csdn.net/detail/obuyiseng/9466056 简单介绍: F ...
- shell脚本,根据字符串获取行号的
awk中不能解析shell变量,建议做法是通过-v传递进去: 1 typeline=`cat $typepath | awk -v str="$typetmp" '/str/{pr ...
- HDU1851 A Simple Game
一个关于SG的博弈游戏,对于某个堆有$M_i$和$L_i$,那么这个堆的SG值为 $$SG_i = M_i \%(L_i+1)$$ 为什么这道题的$SG$函数就是这样子的呢?四个字:手算打表!! $L ...
- 22 WPF列表,树,网格
ListView ListView从ListBox派生,只增加了View属性.如果你没有设置View属性,ListView行为正如ListBox. 从技术上,View属性指向任何ViewBase派生类 ...
- 杂项-Java:JeePlus
ylbtech-杂项-Java:JeePlus 一个集成了代码生成器的java快速开发框架 1. 介绍返回顶部 1. 响应式开发 JeePlus采用了目前极为流行的扁平化响应式的设计风格,UI框架使用 ...