FG
💻 Software

List the current folder folder's sizes with the terminal?

Fresh7 days ago
Mar 15, 2026299003 views
Confidence Score1%
1%

Problem

I want a list of the folders from the current directory or one that I specify with their size. I have tried with du but I only get the size of the directories I specify (du . ./f1), and ls doesn't show the size of the folders. How do I do this without any scripting ?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: List the current folder folder's sizes with the terminal?

Low Risk

If you want to show all the directories in the current directory: To show them starting from another directory: If you want to make sure directories with names starting with a dot are included do first.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment