On 07/01/2013, Raphael Proust <raphla...@gmail.com> wrote: > Real difference is du handles hard links (i.e. shows actual disk usage > (as one would expect) by counting hard-linked files only once) while > ls list files (as one would expect) (and optionally gives some > information about them). Which wins.
Ah, yes, I missed this. Unix wins again. Plan 9 ls has no R flag, which makes sense if truly ls's job is to list directories and du's job is to delve deep, tho Unix 8th ls has the flag. On another note, I find it sadly amusing how "an unbelievable number of options" [1] is fewer than most have today. [1] http://man.cat-v.org/unix_8th/1/ls