# Check the size of a directory - Linux
Data Science for Political and Social Phenomena
Author: Guillaume Redoulès

# Check the size of a directory

### How do you Check the size of a directory in linux?

The `du` command will come handy for this task. Let's say we want to know the size of the directory named `recommandations`, we would run the following command

    du -sh recommendations

It would return the output :

    9.9M    recommendations

### Find an error or bug? Have a suggestion?

Everything on this site is avaliable on GitHub. Head on over and submit an issue. You can also message me directly by email.