ls

Name

ls -- list directory contents

Description

ls shall behave as specified in POSIX 1003.1-2001 (ISO/IEC 9945-2003), but with extensions listed below.

Extensions

-l 

If the file is a character special or block special file, the size of the file shall be replaced with two unsigned numbers in the format "%u, %u", representing the major and minor device numbers associated with the special file.

Note: The LSB does not specify the meaning of the major and minor devices numbers.

-p 

in addition to POSIX 1003.1-2001 (ISO/IEC 9945-2003) XSI optional behavior of printing a slash for a directory, ls -p may display other characters for other file types.