FG
💻 Software

How can I list only non-empty files using ls?

Fresh7 days ago
Mar 15, 202693131 views
Confidence Score0%
0%

Problem

How can I list (using ) all files that are not empty (size > 0) using linux?

Error Output

ls

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I list only non-empty files using ls?

Low Risk

I'd use , assuming GNU find.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment