Monday, December 15, 2025
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

Factory method design pattern JavaScript

April 24, 2022 beroza

Why we should use ‘use strict’ in JavaScript?

August 13, 2021 beroza

Find the correct word by incrementing chart code of letters

February 11, 2022 beroza

Failed form propType: You provided a `value` prop to a form field without an `onChange` handler

September 2, 2019 beroza

TypeError: Cannot assign to read only property of object ‘#Object’ reactjs

April 15, 2019 beroza

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

May 20, 2020 beroza

Write a Program to Form Smallest Number From Two Digit Arrays

May 9, 2023 beroza

Generics in TypeScript with example

November 10, 2021 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 © 2025 Upokary. All rights reserved.