Monday, March 16, 2026
Latest:
  • In German, verb sein (to be) Konjunktion
  • 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?
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

Left shift operator

December 19, 2023 beroza

How to dynamically add property of nested object JavaScript

July 29, 2021 beroza

dyld: Library not loaded, Referenced from: Reason: image not found

May 20, 2020 beroza

Does variable declared with let or const hoisted?

August 30, 2021 beroza

What is useRef in React? What are the use cases of useRef?

August 14, 2021 beroza

Use cases of Sets in JavaScript

September 19, 2021 beroza

Uncaught TypeError: object is not iterable (cannot read property Symbol (Symbol.iterator))

May 10, 2019 beroza

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

January 21, 2020 beroza

How to render image with srcset and sizes in WordPress?

June 1, 2021 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.