Skip to content

Instantly share code, notes, and snippets.

@kirillgroshkov
Last active November 16, 2020 11:48
Show Gist options
  • Save kirillgroshkov/a967ef50a105ffd730821ebf582a15e0 to your computer and use it in GitHub Desktop.
Save kirillgroshkov/a967ef50a105ffd730821ebf582a15e0 to your computer and use it in GitHub Desktop.
Various linux commands
# Directory size
du -sh ./node_modules
# In KB
du -sk ./node_modules
# Sorted size of node_modules
du -sh ./node_modules/* | sort -nr | grep '\dM.*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment