Linux notes¶
Inode types¶
On Linux, everything is a "file".
When you display file info with ls -l
on Linux, the file permissions output shows 9 characters for permissions, and a tenth one for the inode type.
1 2 3 4 5 6 7 8 | type | v 0 crw-rw-rw- 1 root wheel 14, 1 Sep 28 12:19 /dev/urandom ^ ^ |---|---| | perms |
Here's the type list
-
: Filed
: Folderb
: Block inodec
: Device inodep
: Pipe (simple or named)l
(lower caseL
): Symbolic links
: Socket inode