Linux study notes - directory processing command ls

ls spell: list --- display the current directory

ls -a a:all --- show all, specifically query all hidden files

ls -l l:long --- Display detailed file information

ls -d d: direct --- Display directory information

ls -i --- Display the user's node information (equivalent to the ID of the ID card)

u: user --- user

g:group --- user group

o:other ---Other

rwx --- read and write execution

Note: The following is a detailed description of the specific meaning of each parameter:

The first root: the owner, whoever created it, can only have one owner, and the owner can change

The second root: belongs to the group, there is only one group, and members of all groups can use it

is neither the owner nor the group it belongs to or something else

1205: refers to the size of the file, in KB

No created time, last modified time in LINUX

The last indication is the name of the file

The specific meaning of -rw------- is:

rw- : owner's permissions

---: Permissions of the group to which it belongs

---: permissions for others




Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326395717&siteId=291194637