How to find out the size of folders in the current directory via SSH A short note on how to find out the size of files and folders in ssh. We execute the command: du -sh * Sorted by size: du -sch ./*|sort -hr Add to favorite