The command `du` can be used to output the disk space usage of files and directories. With the options `s` and `h` you print a summary in human readable form, for example to determine the size of the current directory and all files and directories within it. This is show in this screencast for a directory that contains the source code of CPython checked out from the official git repo.

https://www.youtube.com/watch?v=kFFH5GJyBp4

#CommandLine #FileSizeEstimation #Screencast #SoftwareDevelopment #TerminalTuesday

Print Size of Current Directory in Human Readable Form #Shorts

YouTube