Artificial intelligent assistant

Sorting with command ls in unix (ksh) I'm wondering how does the sort works with `ls`. For example: ls - lrt tri par date ls - lSr par size, ... However I don't see how this pattern works.

`-l` means "long", i.e. it displays long entries, not just filenames. `-r` means reverse the sort order and `-t` means sort by time (file modification time). `-S` is sort by size. So:


ls -lrt will sort by time reverse order
ls -lSr will sort by filesize in reverse order


for more detail, see `man ls`

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy fbb7e09c6873efb7f9b6b8a7ac223463