How to know size of file or directory in linux

Use du (disk usage)

>du -h .

shows the current directory size with human readable format

Leave a comment