Friday, January 30, 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

What is spread syntax? Explain with example

May 11, 2019 beroza

Write a Program to Find Subdomain Visit Count

January 14, 2023 beroza

cannot load such file — openssl when try to install gem install rails

May 20, 2020 beroza

In which order static initialisation block and constructor run in java?

September 16, 2019 beroza

How to convert boolean result into integer in JavaScript?

August 26, 2021 beroza

How to uninstall PHP in Ubuntu?

September 20, 2021 beroza

What are the differences between IP address 0.0.0.0 and 127.0.0.1?

December 4, 2019 beroza

Keyword “this” is immutable in JavaScript

February 25, 2019 beroza

Query posts with featured image in WordPress.

January 4, 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.