Tuesday, January 20, 2026
Latest:
  • Wichtige wörter für B1 prüfung
  • What are the main differences between ApplicationContext and BeanFactory?
  • German B1 Word list
  • How does Lazy annotation work in Spring?
  • How Spring framework resolves circular dependencies?
Upokary

Upokary

Quality information

  • Health
  • Life
  • Fashion
  • Food
  • Code
  • English
  • বাংলা
Technology 

du commands

Published: May 29, 2022Last updated: September 29, 2022 du, du command, Linux, UNIX

du command estimates file space used under a particular directory or files on a file system.

$ du -sh <file_path>

Explanation

du (disc usage) command estimates file_path space usage
The options -sh are (from man du):

  -s, --summarize
         display only a total for each argument

  -h, --human-readable
         print sizes in human readable format (e.g., 1K 234M 2G)

To check more than one directory and see the total, use du -sch:

  -c, --total
         produce a grand total

You May Also Like

Write a Program to Find Min Cost Climbing Stairs

May 22, 2023 beroza

What is SaaS, PaaS and IaaS? Explain with example

May 9, 2019 beroza

error reading tomcat-embed-core.jar; zip file is empty

January 30, 2019 beroza

What are the differences between Map vs Object in JavaScript?

August 30, 2021 beroza

How to remove the last element of array in JavaScript?

October 1, 2022 beroza

How to check if an element is visible in the current viewport as we scroll?

July 8, 2020 beroza

Query posts with featured image in WordPress.

January 4, 2020 beroza

Useful git command for developers

May 17, 2019 beroza

Enforce the singleton property with a private constructor or an enum type

January 21, 2020 beroza

Why Upokary?

Upokary.com is a useful application in everyday life. It provides very handy information regarding every aspect of life. Each and every tip of upokary.com is meant to make life better.

Upokary tools

  • Youtube thumbnail
  • Youtube video downloader

Useful Links

  • Handy code
  • Technology
  • People
  • Programming
  • Quote
  • Travel
  • WordPress
  • IELTS
  • Kids

Pages

  • Sitemap
  • Privacy policy
  • About us
  • Contact us

Support

For any kind of query or question please drop a message in the following email: upokary@gmail.com
Copyright © 2026 Upokary. All rights reserved.