Commands to Check Folder or File Sizes in Bulk via SSH on Linux Servers

For folder size;

du -sh /klasorunyolu

For the size of a specific folder and its subfolders;

du -h --max-depth=1 /klasorunyolu

For the sizes of the current folder and the folders within it;

du -h --max-depth=1

Total size of the current folder;

du -sh

Sizes of all files or folders in a