ls
Command Function
This command is used to display the content of a specified directory.
Syntax
ls [path]
Parameter Description
Table 1 Parameters
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
Enter ls.