Skip to content

Hayato Iriumi

Tech Notes of Mine

Day: January 27, 2022

How to View Directory Size on Linux

I searched my blog for it thinking I am sure I blogged it before but it turned out that I have not. This is a very useful command when you want to know the size of directories.

du -h --max-depth=1

I did remember it and I was able to use it just now… Where did I remember that… I probably tried to memorize it before.

Author adminPosted on January 27, 2022January 29, 2022Categories LinuxLeave a comment on How to View Directory Size on Linux

Recent Posts

  • Uptime
  • Built a PC
  • Copy Drives with rsync on Windows from WSL
  • VPN Server After a Month Usage
  • Text Wrap in Python
  • MD5 Checksum for Directory
  • February 10, 2022
  • Undo a Single File in Git
  • January 28, 2022
  • How to Create Partitions on a New Disk on Linux
  • January 30, 2022
January 2022
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Dec   Feb »

Recent Comments

  1. mighty-kr on How to Provision Jenkins on NGINX Reverse Proxy on Docker Container
  2. admin on How to Backup an Instance and Restore on Oracle Cloud Infrastructure
  3. Kleber Vieira de Araujo on How to Backup an Instance and Restore on Oracle Cloud Infrastructure
  4. Kleber Vieira de Araujo on How to Backup an Instance and Restore on Oracle Cloud Infrastructure
  5. admin on How to Install Jenkins Slave as Windows Service

My Japanese Blog

Hayato Iriumi Proudly powered by WordPress