The ls command is used to list directory contents and the results can be sorted upon several criteria such as by date, alphabetical order of filenames,