to know the size of file directory in linux code example
Example 1: check folder size in linux terminal
du -sh /home/user/
Example 2: linux find size of directory and subdirectories
du -s /home/george
du -sh /home/user/
du -s /home/george