ls - Directory contents on UNIX® platform

Syntax

ls

Description

ls displays the results of the ls command on UNIX. On UNIX, ls returns a character row vector of filenames separated by tab and space characters. On Windows® platforms, ls returns an m-by-n character array of filenames, where m is the number of filenames and n is the number of characters in the longest filename found. Filenames shorter than n characters are padded with space characters.

On UNIX, you can pass any flags to ls that your operating system supports.

See Also

dir

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS