Skip to content
Studytrails

Tutorials in ML, AWS, R and Java

  • Amazon AWS
  • Videos
  • R
    • RServe
    • RJava-Eclipse-Plugin
    • Core
  • Machine Learning
  • java
    • frameworks
    • Json
      • Jackson
      • GSON
  • Kubernetes

Total size of a directory in unix

November 20, 2015 by Mithil Shah

Use the du command to get the size of a directory
du -h prints the size of current directory and each directory under it in a human readable form.

To get the size of the current directory only use this command
du -sh

to get the size of a particular directory
du -sh

facebookShare on Facebook
TwitterTweet
Categories blog
Post navigation
Cut lines in a file using a delimiter and select specific columns
cat all files recursively in a directory

Recent Posts

  • Introduction to scaling Large Model training and inference using DeepSpeed
  • Understand CLIP (Contrastive Language-Image Pre-Training) — Visual Models from NLP
  • Amazon S3 lifecycle policies
  • Host a static website on Amazon S3
  • Amazon S3 encryption

Recent Comments

  • srujana on CloudFormation for SageMaker instance
  • Tolera on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
  • Brijesh on Java Google Json (Gson) Introduction
  • Tan on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
  • Ali on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
© 2023 Studytrails • Built with GeneratePress