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.
--glenn
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.
--glenn