Saturday, May 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

JavaScript Primitive vs. Reference Types

August 27, 2021 beroza

How to do pass by reference in JavaScript?

April 27, 2021 beroza

java.lang.IllegalStateException: Failed to load ApplicationContext

November 28, 2019 beroza

Write a Program to Merge Two Sorted Lists

May 21, 2023 beroza

Warning: Each child in a list should have a unique “key” prop

March 25, 2019 beroza

Minimum Changes To Make Alternating Binary String

January 11, 2023 beroza

Consider static factory methods instead of constructors

January 23, 2020 beroza

What are the differences between IP address 0.0.0.0 and 127.0.0.1?

December 4, 2019 beroza

org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution

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