Timeline for Finding files that use the most disk space
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 14, 2021 at 9:49 | comment | added | Nicolas Lykke Iversen | @jippie Your first command only includes directories. | |
| Feb 25, 2017 at 21:36 | history | edited | jippie | CC BY-SA 3.0 |
added 283 characters in body
|
| Feb 25, 2017 at 21:13 | history | edited | jippie | CC BY-SA 3.0 |
added 412 characters in body
|
| Jun 5, 2012 at 17:25 | comment | added | jippie |
No, du traverses the whole directory tree, whereas ls -S only checks the current directory.
|
|
| Jun 3, 2012 at 18:27 | vote | accept | Andrew | ||
| Apr 24, 2012 at 18:23 | comment | added | Bernhard |
For your first option, can't you just list them with ls -Sl | head?
|
|
| Apr 24, 2012 at 17:35 | history | answered | jippie | CC BY-SA 3.0 |