{Long listing format(ls -l)
}
Regular (-)
type file
|
| allow to Write Size Day of the month
| | | |
| | | |
-rw-rw-r-- 1 sam wheel 12 Oct 2 00:31 file.txt
| | | | | \
allow to Read | | | | \
| Month | | \
Link Count | Minute \
| Filename
Hour
......................................
| Numeric | Symbol | Permission |
| Value | Value | |
......................................
| 4 | r | Readable |
| 2 | w | Writable |
| 1 | x | Executable |
......................................
Directory (d)
type file
|
| none Owner Group
| | | |
drwxrwxr-x 2 sam wheel 4096 Oct 2 00:26 Folder
|
allow to eXecute
Symbolic Link (l)
type file Destination file
| |
| |
lrwxrwxrwx 1 root root 30 May 21 00:46 /vmlinuz -> /boot/vmlinuz-kernel
|_|| || | |
Owner| || | |
|_|| | Symbolic link pointed to
Group| |
|_|
Other
Owner= User who hold the privilege to do any changes.
Group= Users who are member of same Group.
Other= Users who are not owner or member of that group.
Character (c)
type file
|
|
crw-rw-rw- 1 root root 1, 3 Aug 27 23:50 /dev/null
Block (b)
type file
|
|
brw-rw---- 1 root disk 8, 0 Aug 27 23:50 /dev/sda
Socket (s)
type file
|
|
srw-rw-rw- 1 root root 0 Aug 27 23:50 /var/run/acpid.socket
Pipe (p)
type file
|
|
prw------- 1 root root 0 Aug 27 23:50 /var/run/dmeventd-server
There are 7 types of file in Linux
.......................................
| Sign | File type |
.............|.........................
| - | Regular file |
| d | Directory file |
| l | Symbolic link file |
| c | Character file |
| b | Block file |
| s | Socket file |
| p | Pipe file |
.......................................
Last updated on 14 October 2024 10:09 am IST