1.ls-l listing the details of a file
-rw-r--r--1 root root 13572 zabbix-release-3.4-2.el7.noarch.rpm
-rw-r--r--: Permissions
1: Multiple files using the same inode (for example: 1 files using the same inode)
Previous root: Indicates the owner.
Post Root: The owning group. There will be multiple users under the group
13572: Indicates file size, Unit B remark: 14k=13572b
Ls-l out of the unit is B
LS-LH out of the unit is KB
28 2017: Time
zabbix-release-3.4-2.el7.noarch.rpm: File name
Inode: Information that stores files, such as: File attributes, file permissions, file owners, special groups of files, file size, file time.
The record file is stored on which area on the hard disk.
For example: Two files use the same inode, which means that the two files are in the same location as the data blocks stored on the disk.
2. View Inode number
Ls-i file name
[Email protected]_0_11_centos ~]# ls-i zabbix-release-3.4-2.el7.noarch.rpm
475144 zabbix-release-3.4-2.el7.noarch.rpm
475144: Inode number expressed as zabbix-release-3.4-2.el7.noarch.rpm
3.ls-la view all hidden files.
To. Begins with a hidden file or directory.
Each directory will have "." ".."
".": Represents the current directory.
"...": Represents the parent directory.
4.ls-lat in the order of time, do ascending, the nearest actual more upward.
5.ls-ld only lists information about the directory itself.
6.ll = Ls-l
Linux-ls-listing the details of a file