FG
💻 Software

How to use ls command with cd recursively

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

Problem

I have a requirement where I need to validate the nested folder structure. Ex: I have 3 folders: test1, test2, test3 (Practically there can be anynumber of such folders). Now all these folders should contain folder like V1, V2... like that ('V' followed by number). Under this folder (V1... ), there…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to use ls command with cd recursively

Low Risk

You could use the find command. Find recurses through a directory structure doing things to each file/directory. You can limit it to directories with the -type flag. To actually validate all have the structure I think you are going to have to write …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment