Use the command Ls-al to list all the current files, and the various cases of the file.
The first block is the file attribute: Altogether 10, the first represents the file type {d: directory,-: file, L: Connection file, B: Interface device, C: Serial port Device}, followed by three groups, first group: Owner's permissions, second group: permissions for the same group, Third group: Other people non-group permissions (rwx for read and write execution) if there is not an X attribute, you cannot enter the view
The second block is the node occupied by the connection: if it is a directory, it is related to how many directories are in that directory
The third block is the owner of the file.
Group Four for the owner
The fifth block is the file capacity size
The sixth block file file date/modification date
The seventh block is the file name (there is a point in front of the file name is the hidden directory)
Change file permissions:
CHGRP: Change the group to which the file belongs
Chown: Change file Owner
chmod: Change the properties of the file, suid
RWD 4 2 1 777 The delegate gave all the permissions.
Using the symbol u/o/g +/-/= rwx A represents any (anyone),
Cat Reads archive content
File type:
Regular file:-Text binary data
Catalog Archives: D
Connection file: L like a shortcut under Windows???
Device and device files: B: Block device file C: Character device file system peripheral and storage related files
Data interface file: S is also known as the data interface file
Data transfer file: P
File attachment name: Similar to Windows file extension, but because the Linux file can be executed to see attribute x, regardless of the document file name, with the documentation file name to see the attendance of the document
Directory configuration: Standard FHS for directory configuration
Absolute path:/start
Relative path: Except absolute path is relative path
.. /delegate back to previous level directory
Properties and directories of the Linux Basic Learning document