linux 目录结构



Linux Directory Structure

Note: Files are grouped according to purpose. Ex: commands, data files, documentation.

Parts of a Unix directory tree. See the FSSTND standard (Filesystem standard)

/			Root
root		The home directory for the root user
home		Contains the user's home directories
    -ftp		Users include many services as listed here
bin			Commands needed during bootup that might be needed by normal users
sbin		Like bin but commands are not intended for normal users.  Commands run by LINUX.
proc		This filesystem is not on a disk.  Exists in the kernels imagination (virtual).  This directory
    			Holds information about kernel parameters and system configuration.
    -1		A directory with info about process number 1.  Each process
				has a directory below proc.  
usr			Contains all commands, libraries, man pages, games and static files for normal
    -bin		Almost all user commands.  some commands are in /bin or /usr/local/bin.
    -sbin		System admin commands not needed on the root filesystem.  e.g., most server 
    -include	Header files for the C programming language.  Should be below /user/lib for
    -lib		Unchanging data files for programs and subsystems
    -local		The place for locally installed software and other files.
    -man		Manual pages
    -info		Info documents
    -doc		Documentation for various packages
    -X11R6		The X windows system files.  There is a directory similar to usr below this 
    -X386		Like X11R6 but for X11 release 5
boot		Files used by the bootstrap loader, LILO.  Kernel images are often kept here.
lib			Shared libraries needed by the programs on the root filesystem
    -modules 	Loadable kernel modules, especially those needed to boot the system after
dev			Device files for devices such as disk drives, serial ports, etc.
etc			Configuration files specific to the machine.
    -skel		When a home directory is created it is initialized with files from this directory
    -sysconfig 	Files that configure the linux system for networking, keyboard, time, and more.
var			Contains files that change for mail, news, printers log files, man pages, temp files
    -lib		Files that change while the system is running normally
    -local		Variable data for programs installed in /usr/local.
    -lock		Lock files.  Used by a program to indicate it is using a particular device or file
    -log		Log files from programs such as login and syslog which logs all logins,
    			logouts, and other system messages.
    -run		Files that contain information about the system that is valid until the system is
    			next booted
    -spool		Directories for mail, printer spools, news and other spooled work.
    -tmp		Temporary files that are large or need to exist for longer than they should in
    -catman	A cache for man pages that are formatted on demand
mnt			Mount points for temporary mounts by the system administrator.
tmp			Temporary files.  Programs running after bootup should use /var/tmp.
  • . 2010年6月,Gartner发布的一个关于CIO的调查报告显示,虚拟化是CIO们第一关注的技术方向,云计算紧随其后.而就在今年了月,本报对50位中国企业CIO进行电话调查,在问及"关于云计算最想了解的是什么"时,其中五分之三的CI0的回复是"云计算的成功案例&qu ...
  • 嘉宾介绍 朱磊,(James Wharton),现任北京沃顿在线执行总裁,复旦大学外聘主讲(安全软件架构课程).前京东.完美世界高级安全经理.负责运维安全.业务安全方向,主导运维流程建设.安全系统设计.信息安全体系落地. 主要内容 将运维进行层次划分,从网络到前端防护逐级分解各层次中安全的风险,以及 ...
  •   括号匹配(二) 时间限制:1 ms    内存限制:65535 KB 难度:6   描述给你一个字符串,里面只包含"(",")","[","]"四种符号,请问你需要至少添加多少个括号才能使这些括号匹配起来.如:[]是 ...
  • 在运行SimpleTaskSystem.NHibernate下的RunMigrations.bat脚本来进行数据库初始化的时候,                           遇到了以下问题:       根据提示,分析了一下路径,发现是路径中的package版本号出错了,将它由 ..\pac ...
  • 李静颖如果不是需要与美国团队一起合作项目,毕业后加入惠普担任工程师的符绩勋不会那么快来到硅谷,那么他至今都可能还是一个工科男.但因为这次机缘,让符绩勋真切感受到了硅谷创新的氛围,"每次感觉已经想到尽头了,却会突然又冒出一个新想法,有太多的可能了."这种永无止境的创新气氛让符绩勋很 ...
  •  问题 某些服务器安全软件允许管理员指定可以登陆的计算机名(管理员电脑的计算机名),若登陆的计算机名并非管理员的,那么服务器安全软件将拦截对方的登陆行为.这种方法乍一看挺安全,但也只能拦住小白的入侵者. 解决思路 1.在提升了自己的权限后,获取远程服务器的登陆记录,来知道管理员的计算机名 copy ...