First findout which filesystem the directory belongs to. Let’s say, you want to findout for /home/ directory, you can do it using the following command.
This will display, all the filesystem info. You can check the total, used and available space out there. Now the “available” space is the free disk space in the directory you are looking for.
If you like this article, then please consider sharing it. Sharing really inspires us to do things much better!!