How to Find the Total Size of a Directory in Linux

At some point, you will be intrigued to know the total size of a current directory, or of any XYZ directory taking space on your disk, and it will be very crucial when you are running out of space, and want to delete a file that is consuming more space.You may be trying to find the total size of a directory using the ls -shw command, but it won’t work here. So how do I determine the size of a directory in Linux using the command line?

Source: LXer – How to Find the Total Size of a Directory in Linux