--Introduce a command to check the capacity directly under a specific directory in a Bash execution environment such as Mac or Linux as a memo.
--Hardware environment
item | information |
---|---|
OS | macOS Catalina(10.15.5) |
hardware | MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports) |
Processor | 2 GHz quad core Intel Core i5 |
memory | 32 GB 3733 MHz LPDDR4 |
Graphics | Intel Iris Plus Graphics 1536 MB |
The command to check the capacity directly under the specified directory is described below.
$ du -sh Directory path you want to check
Recommended Posts