ubuntu linux文件目录备忘

/$ ls -l
total 536
drwxr-xr-x 2 root root 4096 Jun 1 10:26 bin — 系统命令,如shell里面的bash,ps,pwd等
drwxr-xr-x 3 root root 4096 May 18 15:01 boot — 启动相关,存放系统启动的镜像内核和开机引导画面
drwxrwxr-x 2 root root 4096 Oct 17 2014 cdrom — 光驱,无光驱启动
drwxr-xr-x 18 root root 4280 Sep 16 10:12 dev — 系统设备,ram,tty等
drwxr-xr-x 174 root root 12288 Sep 16 10:11 etc — 各种默认配置放这里,修改配置在这里
drwxr-xr-x 3 root root 4096 Oct 17 2014 home — 用户目录
lrwxrwxrwx 1 root root 33 May 18 15:00 initrd.img -> boot/initrd.img-3.13.0-52-generic
lrwxrwxrwx 1 root root 33 May 6 17:13 initrd.img.old -> boot/initrd.img-3.13.0-51-generic
drwxr-xr-x 24 root root 4096 Feb 28 2015 lib — 各种系统库
drwxr-xr-x 2 root root 12288 Feb 28 2015 lib32 — 各种系统库
drwxr-xr-x 2 root root 4096 Feb 28 2015 lib64 — 各种系统库
drwxr-xr-x 2 root root 4096 Feb 28 2015 libx32 — 各种系统库
drwx—— 2 root root 16384 Oct 17 2014 lost+found
drwxr-xr-x 3 root root 4096 Oct 17 2014 media — 外接盘(硬盘,优盘等)
drwxr-xr-x 2 root root 4096 Apr 11 2014 mnt
drwxr-xr-x 5 root root 4096 Jan 23 2015 opt — 安装一些软件等
dr-xr-xr-x 246 root root 0 Sep 16 10:11 proc — 进程
drwx—— 7 root root 4096 Sep 6 17:35 root — root主目录
drwxr-xr-x 32 root root 1060 Sep 17 08:51 run
drwxr-xr-x 2 root root 12288 Apr 24 11:18 sbin — 管理维护系统命令
drwxr-xr-x 2 root root 4096 Jul 23 2014 srv — 某些服务,如cvs
dr-xr-xr-x 13 root root 0 Sep 16 10:11 sys
drwxrwxrwt 20 root root 430080 Sep 17 10:09 tmp
drwxr-xr-x 21 root root 4096 Sep 17 10:07 usr — 用户命令/库等
drwxr-xr-x 15 root root 4096 Oct 18 2014 var — www网络应用
lrwxrwxrwx 1 root root 30 May 18 15:00 vmlinuz -> boot/vmlinuz-3.13.0-52-generic
lrwxrwxrwx 1 root root 30 May 6 17:13 vmlinuz.old -> boot/vmlinuz-3.13.0-51-generic