FG

How can I get colors with "ls -l | more"?

Fresh3 days ago
Mar 15, 20264457 views
Confidence Score0%
0%

Problem

ls -l gives me color coded output. Folders are blue, executables green, etc. These colors are gone when filtering thorough | more. Anyway to achieve both paged output and colors?

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 get colors with "ls -l | more"?

Low Risk

Try with less command with repaint(-R) option:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment