ls
List folder contents
Syntax
Description
ls lists the contents of the current folder.
Examples
Input Arguments
Output Arguments
Tips
To further modify the results of the
lscommand on UNIX platforms, you can add any flags that the operating system supports. For example,ls -cdisplays files by timestamp andls -ddisplays only directories. For more information, see the UNIXlsdocumentation.
Alternatives
Use the dir command to
return file attributes for each file and folder in the output argument.
You can also view files and folders in the Files panel by issuing the
filebrowser command.
Version History
Introduced before R2006a