FG
💻 Software

How can I have ls follow the content of a directory like tail -f does on a file

Fresh5 days ago
Mar 15, 20266439 views
Confidence Score0%
0%

Problem

I want to basically continuously update the file list of a directory similar to how tail does with the flag on a file. is there any reasonable way to do this?

Error Output

-f

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 have ls follow the content of a directory like tail -f does on a file

Low Risk

Try using the command with : will repeatedly execute the given command at regular (2 second) intervals, which can be configured through command-line options.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment