Use the LS command to display the contents of your current directory. The LS command has many options available. To see all the options for the LS command, you can read the instructions page by typing man ls at the shell prompt. The following is a short list of some common options used with LS.
Comma all. Enumerates all the files in the directory, including hidden files (. filehttp://www.aliyun.com/zixun/aggregation/11696.html ">name"). At the beginning of this list. and. In turn, the parent directory and your current directory.
-L-Length (long). Enumerates the details of the contents of the directory, including permissions (schema), owner, group, size, date created, whether the file is a link to other parts of the system, and the link's point.
F file type. Add a symbol after each of the enumerated items. These symbols include:/indicate a directory; @ indicates a symbolic link to another file; * indicates an executable file.
R. Reverse (reverse). Enumerates the contents of a directory from behind.
R. Recursion (Recursive). This option recursively enumerates the contents of all directories (under the current directory).
S size. Sort by file size