Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Oct 07, 2023, 07:16 AM

Title: ls -Rd is broken
Post by: mahesh on Oct 07, 2023, 07:16 AM
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