Environment: centos6.5
Kernel: 2.6.32-431.el6.i686
Show file/directory type commands
Ls-l file
Ls-ld Directory
Linux Common file types:
Normal file:-,f
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/05/wKiom1U9s4Ki12vPAABIia9ShMk990.jpg "title=" 1.jpg " alt= "Wkiom1u9s4ki12vpaabiia9shmk990.jpg"/>
Catalog file: D
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/01/wKioL1U9tYLwinmbAABAbE13mM8143.jpg "title=" 2.jpg " alt= "Wkiol1u9tylwinmbaababe13mm8143.jpg"/>
Symbolic Link file: L Note: The symbolic connection size is determined by the length of the linked file name character.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/05/wKiom1U9tK6geOYNAABnvuu-ZjM338.jpg "title=" 3.jpg " alt= "Wkiom1u9tk6geoynaabnvuu-zjm338.jpg"/>
Character device (linear device): C
650) this.width=650; "style=" float:left; "src=" http://s3.51cto.com/wyfs02/M01/6C/05/ Wkiom1u9tu6rgxm1aabdjc9rynq127.jpg "title=" 4.jpg "alt=" Wkiom1u9tu6rgxm1aabdjc9rynq127.jpg "/>
Block device (random device) b
650) this.width=650; "style=" float:left; "src=" http://s3.51cto.com/wyfs02/M02/6C/05/ Wkiom1u9tzzquppraaberkbvpsq210.jpg "title=" 5.jpg "alt=" Wkiom1u9tzzquppraaberkbvpsq210.jpg "/>
Command pipeline: P
Socket file: S
Type of file content:
File/path/to/somefile
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/01/wKioL1U9uQuxEFSiAAAw19a8cO4868.jpg "title=" 6.jpg " alt= "Wkiol1u9uquxefsiaaaw19a8co4868.jpg"/>
This article is from "The Blood of the Linux blog" blog, please be sure to keep this source http://xuezhonghua.blog.51cto.com/10167373/1639044
Linux file types