• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Find the Biggest File

April 1, 2019

Find the biggest files in the current directory. Sort by from large to small. Display only the top 20. Display in human readable format.

find -type f -exec du -Sh {} + | sort -rh | head -n 20

find -type f -exec du -Sh {} + | sort -rh | head -n 20

Filed Under: Linux Tagged With: big, du, file, find, sort

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023