zoukankan      html  css  js  c++  java
  • linux根目录下的文件夹

    http://wenku.baidu.com/link?url=PDpw0nuLm71kihyYWdGY2niJhQEsJXfu8NVbjy9RxLa-Zur3aoG4NkCFpD-GQKM_sQWNB7Xi3SOiCi8ukRC0beIVClqGtkuoCCwYfmXwnwC

    [root@localhost /]# ls -l
    total 168
    drwxr-xr-x 2 root root 4096 Oct 18 21:28 bin
    drwxr-xr-x 3 root root 4096 Oct 16 23:53 boot
    drwxr-xr-x 12 root root 3980 Oct 18 22:03 dev
    drwxr-xr-x 95 root root 12288 Oct 18 22:05 etc
    drwxr-xr-x 3 root root 4096 Oct 16 23:52 home
    drwxr-xr-x 11 root root 4096 Oct 18 21:27 lib
    drwxr-xr-x 7 root root 12288 Oct 18 21:27 lib64
    drwx------ 2 root root 16384 Oct 17 07:22 lost+found
    drwxr-xr-x 2 root root 4096 Oct 18 22:03 media
    drwxr-xr-x 2 root root 0 Oct 18 22:03 misc
    drwxr-xr-x 4 root root 4096 Oct 17 00:04 mnt
    drwxr-xr-x 2 root root 0 Oct 18 22:03 net
    drwxr-xr-x 2 root root 4096 Oct 18 22:13 opt
    dr-xr-xr-x 142 root root 0 Oct 19 2015 proc
    drwxr-x--- 17 root root 4096 Oct 18 22:03 root
    drwxr-xr-x 2 root root 12288 Oct 18 21:28 sbin
    drwxr-xr-x 2 root root 4096 Oct 16 23:22 selinux
    drwxr-xr-x 2 root root 4096 Jan 27 2010 srv
    drwxr-xr-x 11 root root 0 Oct 19 2015 sys
    drwxrwxrwt 12 root root 4096 Oct 18 22:07 tmp
    drwxr-xr-x 15 root root 4096 Oct 16 23:26 usr
    drwxr-xr-x 23 root root 4096 Oct 16 23:40 var

    [root@localhost /]# ls
    bin dev home lib64 media mnt opt root selinux sys usr
    boot etc lib lost+found misc net proc sbin srv tmp var

    /bin 二进制可执行命令

    /dev 设备特殊文件

    /etc 系统管理和配置文件

    /etc/rc.d 启动的配置文件和脚本

    /home 用户主目录的基点,比如用户user的主目录就是/home/user,可以用~user表示

    /lib 标准程序设计库,又叫动态链接共享库,作用类似windows里的.dll文件

    /sbin 系统管理命令,这里存放的是系统管理员使用的管理程序

    /tmp 公用的临时文件存储点

    /root 系统管理员的主目录(呵呵,特权阶级)

    /mnt 系统提供这个目录是让用户临时挂载其他的文件系统。

    /lost+found 这个目录平时是空的,系统非正常关机而留下“无家可归”的文件(windows下叫什么.chk)就在这里

    /proc 虚拟的目录,是系统内存的映射。可直接访问这个目录来获取系统信息。

    /var 某些大文件的溢出区,比方说各种服务的日志文件

    /usr 最庞大的目录,要用到的应用程序和文件几乎都在这个目录。其中包含:

    /usr/x11r6 存放x window的目录

    /usr/bin 众多的应用程序

    /usr/sbin 超级用户的一些管理程序

    /usr/doc linux文档

    /usr/include linux下开发和编译应用程序所需要的头文件

    /usr/lib 常用的动态链接库和软件包的配置文件

    /usr/man 帮助文档

    /usr/src 源代码,linux内核的源代码就放在/usr/src/linux里

    /usr/local/bin 本地增加的命令

    /usr/local/lib 本地增加的库根文件系统

    通常情况下,根文件系统所占空间一般应该比较小,因为其中的绝大部分文件都不需要经常改动,而且包括严格的文件和一个小的不经常改变的文件系统不容易损坏。

    除了可能的一个叫/ v m l i n u z标准的系统引导映像之外,根目录一般不含任何文件。
    所有其他文件在根文件系统的子目录中。

  • 相关阅读:
    leetcode Convert Sorted List to Binary Search Tree
    leetcode Convert Sorted Array to Binary Search Tree
    leetcode Binary Tree Level Order Traversal II
    leetcode Construct Binary Tree from Preorder and Inorder Traversal
    leetcode[105] Construct Binary Tree from Inorder and Postorder Traversal
    证明中序遍历O(n)
    leetcode Maximum Depth of Binary Tree
    限制 button 在 3 秒内不可重复点击
    HTML 和 CSS 画三角形和画多边行基本原理及实践
    在线前端 JS 或 HTML 或 CSS 编写 Demo 处 JSbin 与 jsFiddle 比较
  • 原文地址:https://www.cnblogs.com/chucklu/p/4890512.html
Copyright © 2011-2022 走看看