1-Command format

 

1.  [root@localhost ~]#

  ~ Representative home directory

    If it is root, it is /root (the root directory under the root directory)

    If it is user then /home/user 

  pwd  can display the current location

  # means administrator, $ means ordinary user

2.  Command option parameters

3. ls shows what is in the current directory

 

  -l

 

   

 

  (Beginning - normal file, d directory file, l soft link file)

  After removing the first digit, there are 9 digits behind, and each 3 digits represent the owner u, the group g he belongs to, the others o, and three permissions (r read w write x execute)

  The last dot represents ACL permissions

  1 represents the number of times it was cited

  9116 represents the size of the file, but this is not humanized, use ls -lh (h represents human)

 

  -d see the directory itself

  -i View id number

 

 

  

 

Guess you like

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