Vamp898 wrote: > Documentation says the following: > > -d, --directory :: list directory entries instead of contents, and do not > dereference symbolic links > > and > > -R, --recursive :: list subdirectories recursively > > And this is what i get when i use ls -dR / > > $ ls -dR / > /
Right. Because the -d said to list the directory and not the contents. In addition to everything Eric said see also this FAQ entry: http://www.gnu.org/software/coreutils/faq/#ls-_002dd-does-not-list-directories_0021 Bob