Difference between revisions of "Size"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* [[TCP window size]]
 
* [[TCP window size]]
 
* <code>[[du -hs]] --apparent-size</code>
 
* <code>[[du -hs]] --apparent-size</code>
 +
 +
 +
* [[ls]]
 +
** <code>ls -lhS</code>
 +
** <code>ls -lR | grep '^-' | [[sort]] -rnk5</code> (sort will not work if ls is used with -h)
 +
** Including full path: <code>ls -ld $([[find]] ./) | [[sort]] -rnk5 | more</code>
 +
:::-su: /bin/ls: Argument list too long
 +
::: -d list directories themselves, not their contents

Revision as of 18:33, 1 June 2022


  • ls
    • ls -lhS
    • ls -lR | grep '^-' | sort -rnk5 (sort will not work if ls is used with -h)
    • Including full path: ls -ld $(find ./) | sort -rnk5 | more
-su: /bin/ls: Argument list too long
-d list directories themselves, not their contents

Advertising: