Dec 22, 2017

sort: Sort text files

sort sorts, merges, or compares all the lines from the given files, or standard input if none are given or for a file of ‘-’. By default, sort writes the results to standard output. Synopsis:

sort [option]… [file]…


$ ls | sort
59399207.csv
inbox2.csv
inbox3.csv
inbox3.zip
inbox.csv
now