ls -- list directory contents


ls shall behave as specified in ISO POSIX (2003), but with extensions listed below.



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.


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