Open main menu

CDOT Wiki β

Changes

OPS435 Assignment 1 for Section C

1 byte removed, 13:31, 1 February 2021
Overview: du Improved
= Overview: du Improved =
<code>du</code> is a tool for inspecting directories. It will return the contents of a directory along with how much drive space they are using. However, it can be parse its output quickly, as it usually returns file sizes as a number of bytes:
<code><pre><b>user@host ~ $ du --max-depth 1 /usr/local/lib</b><pre>
164028 /usr/local/lib/heroku
11072 /usr/local/lib/python2.7