Linux/Find Large Files: Difference between revisions
< Linux
(Created page with " find /home -xdev -size +500k -ls > piggies -- <pre> find /path/to/directory -type f -exec du -hs {} \;| sort -rh | head -n 1 du -sh * | sort -rh | head -5 ls -lSh /bin | he...") |
(No difference)
|
Latest revision as of 03:43, 20 September 2022
find /home -xdev -size +500k -ls > piggies
--
find /path/to/directory -type f -exec du -hs {} \;| sort -rh | head -n 1 du -sh * | sort -rh | head -5 ls -lSh /bin | head -5 find ./ -type f -exec du -sh {} \; |sort -h|tail -5 du -ah /home | sort -h -r | head -n 5 find $directory -type f -exec ls -s {} \; | sort -n | tail -n 5
ref: https://www.howtouselinux.com/post/find-largest-files-and-directories-in-linux