dr-xr-x---. 2 root root 151 1月 10 00:37 .
d 代表目录
-rw-------. 1 root root 1418 1月 10 08:17 anaconda-ks.cfg
- 普通的文档 是可以用cat查看
但是
[root@localhost ~]# ls -l /bin/ls
-rwxr-xr-x. 1 root root 117656 11月 6 2016 /bin/ls
这种 我们打出来命令结果/bin/ls 应该是蓝色的 是没有办法cat的,因为是编译过的文件
crw-rw----. 1 root tty 7, 131 1月 26 20:58 vcsa3
c 表示是字符串设备 鼠标或者键盘什么的 都是这种文件
lrwxrwxrwx. 1 root root 15 1月 26 20:58 stderr -> /proc/self/fd/2
l 软连接文件
brw-rw----. 1 root cdrom 11, 0 1月 26 20:58 sr0
b是块设备 光驱,光盘,磁盘都是
srw-rw-rw-. 1 root root 0 1月 26 20:58 /dev/log
s 用来通信的
文件类型
原文:http://blog.51cto.com/12777709/2065678