Sunday, October 12, 2025
Latest:
  • German Pronouns with Nominative, Accusative, and Dative cases
  • German articles for the nominative, accusative, and dative cases
  • Der kleine Vogel und die Sonne
  • German alphabet pronunciation
  • Command design pattern
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

How to test a function inside a stateless component using JEST in ReactJS?

April 25, 2021 beroza
apple macbook

Things we should do before buying a Apple MacBook

February 21, 2021 beroza

Enforce noninstantiability with a private constructor

January 22, 2020 beroza

JavaScript arrow function related interview questions

March 18, 2019 beroza

Write a Program to Find Plus One of an Array of Digits

January 28, 2023 beroza

Remove a trailing slash from a string (i.e. string) in java

December 10, 2019 beroza

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

July 8, 2020 beroza

npm ERR! code ELIFECYCLE or Error: Could not locate the bindings file

September 6, 2018 beroza

Uncaught Error: Invariant Violation: Element type is invalid: expected a string or a class/function but got: object

December 16, 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 © 2025 Upokary. All rights reserved.