linux各个文件夹的用途
英文:
/bin: where binary programs live.
/boot: the special programs that start the system when you turn the machine on.
/dev: aaaaaalll the "device" listings for hardware of every concievable flavor, along with some "imaginary" devices,
lile /dev/null and /dev/zero. When you get a random number it usually comes from /dev/random.
/etc: configuration files.
/home: the user's directories live here.
/lib: the library files that programs need to run, if they are compiled to link against these libraries.
/lost+found: look here after a system crash/kernel panic or other extreme scenario to find "orphaned" files.
/misc: kinda reminds you of /etc, doesn't it? Every time I see this folder on a system, it's empty, but I ascertain that
it stands for "miscellaneous", and I think it may be a place for users to keep their own "/etc" type files?
/mnt: "mount", the directory that acts as a gateway to every other disk or file system. Floppies are accessed from
/mnt/floppy, your second hard drive might be /mnt/hd here, and so on.
/opt: "optional", where programs that are installed after the initial system install sometimes end up.
/proc: running "processes". The "everything is a file" paradigm carried to the Linux degree!
This folder hosts files
which keep tabs on boring stuff like what daemons are running and the process ID of Emacs while you have
Emacs open.
/root: root's home!
/sbin: the "system-administrator's bin file", which hosts programs that would be in /bin if they didn't have "root-only"
access permissions.
/tmp: "temporary" files, of use by programs which need to throw together a data file on-the-fly in preperation for
executing some other task. This folder gets flushed on reboot.
/usr: "user". Practically a whole other system in here, /usr/bin is still more binaries, /usr/doc and /usr/share/doc are
documentation folders, /usr/share/games/fortune is where the funny quotes come from when you log on (if
that feature is enabled). The idea is that this should be where files/programs accessible by all users should
be, and thus your desktop backgrounds come from /usr/share/wallpapers, or such. The other case is newly
installed programs sometimes end up in /usr/local/bin.
/var: "variable". System logs in here, recording such things as the last foo commands typed at the prompt, start-up
boot messages, and such.
中文的:
/bin 二进制可执行命令 binary
/dev 设备特殊文件 device
/etc 系统管理和配置文件 1,editable text configuration 2,etcetera
/etc/rc.d 启动的配置文件和脚本 run commands
/home 用户主目录的基点,
/lib 标准程序设计库,又叫动态链接共享库 library
/sbin 系统管理命令,这里存放的是系统管理员使用的管理程序 system binary
/tmp 共用的临时文件存储点 temporary
/root 系统管理员的主目录
/mnt 系统提供这个目录是让用户临时挂载其他的文件系统 mount
/lost+found 这个目录平时是空的,系统非正常关机而留下“无家可归“的文件就在这里
/proc 虚拟的目录,是系统内存的映射。可直接访问这个目录来获取系统信息 processes
/var 某些大文件的溢出区,比方说各种服务的日志文件 variable
/usr 最庞大的目录,要用到的应用程序和文件几乎都在这个目录。其中包括:1,user 2, Unix System Resources
/usr/bin 众多的应用程序
/usr/sbin 超级用户的一些管理程序
/usr/include Linux下开发和编译应用程序所需要的头文件
/usr/lib 常用的动态链接库和软件包的配置文件
/usr/src 源代码,linux内核的源代码就放在这里
/usr/local/bin 本地增加的命令
/usr/local/lib 本地增加的库
其中有的文件夹的解释有多种,以后如果能找到原始的权威的解释就好了.
linux各个文件夹的用途的更多相关文章
- linux建立文件夹软连接
linux建立文件夹软连接,并强制覆盖 ln -sfn /home/var/log/httpd/logs logs 这将在当前目录下建立logs软连接,指向/home/var/log/httpd/lo ...
- Linux CP文件夹略过目录的解决
在Ubuntu Linux复制文件夹时出现一个问题,做个笔记,希望能给刚入门的菜鸟学习一下(见图1). 出现略过目录: www_linuxidc_com@linuxidc-Aspire-3680:~$ ...
- (转)linux各文件夹的作用
原文地址:<linux各文件夹的作用> linux下的文件结构,看看每个文件夹都是干吗用的/bin 二进制可执行命令 /dev 设备特殊文件 /etc 系统管理和配置文件 /etc/rc. ...
- [转]linux各文件夹介绍
本文来自linux各文件夹的作用的一个精简版,作为个人使用笔记. 下面简单看下linux下的文件结构,看看每个文件夹都是干吗用的? /bin 二进制可执行命令 /dev 设备特殊文件 /etc 系统管 ...
- linux查看文件夹大小,备份文件夹zip压缩解压
linux查看文件夹大小,备份文件夹zip压缩解压 du -sh : 查看当前目录总共占的容量.而不单独列出各子项占用的容量 du -lh --max-depth=1 : 查看当前目录下一级子文件和子 ...
- linux 查看文件夹下的文件个数(当前目录的文件数)//包含子目录
ls -l |grep "^-"|wc -l //验证了redhat好用 或 find ./company -type f | wc -l 查看某文件夹下文件的个数,包括子文件 ...
- Linux 删除文件夹和文件的命令(转载)
Linux 删除文件夹和文件的命令 听语音 | 浏览:93339 | 更新:2013-05-02 18:40 | 标签:linux 文件夹 linux删除目录很简单,很多人还是习惯用rmdir,不过一 ...
- Linux下的tree命令 --Linux下文件夹树查看
Linux下的tree命令 --Linux下文件夹树查看 有时我们须要生成文件夹树结构,能够使用的有ls -R,可是实际效果并不好 这时须要用到tree命令,可是大部分Linux系统是默认不安装该命令 ...
- ls命名 | Linux统计文件夹内的文件个数
ls命名 man ls -R 递归列出全部的目录内容 recusive -a 列出所有的文件(包括以 . 开头的隐藏文件) all -r 逆序排列 reverse -t 按照时间信息排序 time - ...
随机推荐
- Luogu 2756 飞行员配对方案问题(二分图最大匹配)
Luogu 2756 飞行员配对方案问题(二分图最大匹配) Description 英国皇家空军从沦陷国征募了大量外籍飞行员.由皇家空军派出的每一架飞机都需要配备在航行技能和语言上能互相配合的2 名飞 ...
- JS - JSON.stringify
- Ubuntu-修改图片分辨率
ubuntu14.04 压缩图片default_wallpaper.jpg(2048x1536):压缩后ooo.jpg(1920x1280) if( 宽 > 高 ){ convert defau ...
- 第2章 rsync(二):inotify+rsync详细说明和sersync
本文目录: inotify+rsync 1.1 安装inotify-tools 1.2 inotifywait命令以及事件分析 1.3 inotify应该装在哪里 1.4 inotify+rsync示 ...
- selenium3.x 踏坑记
Selenium 3.x 出来也有段时间了,有哪些坑呢? 有好长一段时间没有用selenium了.最近想用来做个web自动化的小工具.根据以往经验,firefox是不需要下载driver的.启动fir ...
- 聊天类APP功能测试总结
做聊天类的APP 测试已经有一段时间了,也许哪天就不做了,趁今天轻松点,记录下来. 聊天类的APP都差不多,不管是微信,还是米聊,还是QQ,如果抓住了共性,测试的点都差不太多. 我用编程的术语来比方功 ...
- (转)java之runnable jar与普通jar
背景:项目中有时候需要导出相关的jar包,可是总是不能分清楚. 1 导出包 导出普通jar包(可作为第三方库,类似dll,so等) 在eclipse中右键选择except->java->j ...
- 史上最易懂——ReactNative分组列表SectionList使用详情及示例详解
React Native系列 <逻辑性最强的React Native环境搭建与调试> <ReactNative开发工具有这一篇足矣> <解决React Native un ...
- 【PHP】this,self,parent的区别(转)
一. 定义&区别 self: 指向当前类的指针,self是不指向任何已经实例化的对象,一般self使用来指向类中的静态变量. this: 指向当前对象的指针,使用parent来调用父类的构造函 ...
- 连接池报错 Proxool Provider unable to load JAXP configurator file: proxool.xml
上篇博文讲到简易配置 proxool 连接池:http://www.cnblogs.com/linnuo/p/7232380.html 由于把说明注释留在了 proxool.xml 配置文件里导致配置 ...