Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Find large files in Linux console with ls output

normal ls output

find -type f -size +1G -exec ls -lh {} \;

with a formatted output:

find -type f -size +1G -exec ls -lh {} \; | awk '{ print $5 ": " $NF }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.