How to Use the du Command in Linux

Before checking filesystem free space, you may first want to know how much space a particular directory uses. The du command estimates the space used by that directory and its contents. I’ll explain what du measures and show how to request a total or inspect another directory level. TL;DR Use the readable-units option with a

How to Use the du Command in Linux Read More »

How to Use the Tree Command in Linux

An unfamiliar directory can contain several layers of folders, making its contents harder to scan. The tree command displays those folders and their files in a branching hierarchy. This article covers installing tree and tailoring its output with depth limits and name filters. TL;DR The tree command prints a directory and its contents as an

How to Use the Tree Command in Linux Read More »