Skip to content
Studytrails

Tutorials in ML, AWS, R and Java

  • Amazon AWS
  • Json
    • Jackson
    • GSON
  • frameworks
    • spring
    • hibernate
  • R
    • RServe
    • RJava-Eclipse-Plugin
    • Core
  • blog
  • Source Code

Total size of a directory in unix

November 20, 2015 by user

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

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

  • CloudFormation for SageMaker instance
  • Kubernetes Course : 2. Static Website Deployment
  • Local DNS Resolution for EKS with private endpoint
  • What is Kubernetes – simple Introduction
  • Docker container – easy to understand introduction

Recent Comments

  • Paul on Java Google Json (Gson) Introduction
  • Henrik Winsnes on Java Gson – Building json from java (Data-Binding)
  • Meepa on Using Imports in Java and importing packages
  • Güray on List all Objects in R
  • cloudkatha on Aws solution architect associate certification tips
© 2021 Studytrails • Built with GeneratePress