• Skip to main content

Uly.me

cloud engineer

  • Home
  • Archives
  • Search

Find the Biggest File

April 1, 2019 by Ulysses

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 The Website

Subscribe Via Email

  • Home
  • About
  • Contact

Copyright © 2022