Computer Science, asked by tfikirte450, 28 days ago

What is the ls option to sort by file size?

Answers

Answered by amani1132007
2

Answer:

The -S option is the key, telling the ls command to sort the file listing by size. The -h option tells ls to make the output human readable, and -r tells it to reverse the output, so in this case the largest files are shown at the end of the output.

Similar questions