linux ls -l
The "ls -l" command in Linux is used to list the files and directories in a long format. This means that it displays detailed information about each file and directory, including the file permissions, owner, group, size, and modification date.
Here's an example output of the "ls -l" command:
-rw-r--r-- 1 user group 1234 Jan 1 10:00 myfile.txt
drwxr-xr-x 2 user group 4096 Jan 1 10:01 mydir
In this example, the first line represents a file called "myfile.txt" with read and write permissions for the owner, read-only permissions for the group and others, and a size of 1234 bytes. The second line represents a directory called "mydir" with read, write, and execute permissions for the owner and read and execute permissions for the group and others. The directory contains 4096 bytes of data and was last modified on January 1st at 10:01.
原文地址: https://www.cveoy.top/t/topic/bYQ4 著作权归作者所有。请勿转载和采集!