ls
Command Function
This command is used to display the content of a specified directory.
Syntax
ls [path]
Parameters
Table 1 Parameter description
Usage
- This command can be used to display the content of the current directory.
- This command can also display the size of a file.
- The ls command with the proc directory passed cannot calculate the file size, and 0 is displayed in the command output.
Example
Run ls.