Article 5P28X ls -Rd is broken

ls -Rd is broken

by
PsychoHermit
from LinuxQuestions.org on (#5P28X)
Hi Folks,

Running ubuntu 20.04.2.0 LTS amd64 on a 7 year old HP ENVY TouchScreen Notebook.

From the ls man page.

Code: -d, --directory
list directories themselves, not their contents

-R, --recursive
list subdirectories recursively

glenn@Psycho:~/Desktop$ ls -Rd /
/
glenn@Psycho:~/Desktop$ ls -dR /
/I believe I have stumbled on a bug in ls.

--glennlatest?d=yIl2AUoC8zA latest?i=HLYA21-2nnQ:rmlFbxRc0lA:F7zBnMy latest?i=HLYA21-2nnQ:rmlFbxRc0lA:V_sGLiP latest?d=qj6IDK7rITs latest?i=HLYA21-2nnQ:rmlFbxRc0lA:gIN9vFwHLYA21-2nnQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments