FG
💻 Software

Run an ls without getting the full path

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

Problem

I want a simple list of files in a directory that is not my current directory. I run and get: I want: How can I get the second list?

Error Output

ls /other/directory/*.txt

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Run an ls without getting the full path

Low Risk

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment