[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FAQ, a suggested clarification
From: |
davidson |
Subject: |
FAQ, a suggested clarification |
Date: |
Thu, 1 Sep 2016 17:34:17 +0000 (UTC) |
User-agent: |
Alpine 2.10 (DEB 1266 2009-07-14) |
FAQ Item 17, "ls -d does not list directories!", located here
https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#ls-_002dd-does-not-list-directories_0021
includes the following rhetorical exchange:
But I expected to see all of the directories.
That would be the output of `ls -l' without the -d option.
I imagine many people asking this particular frequent question are
trying to list all *and only* the names of directories in the current
directory, in which case a more suitable suggestion is `ls -ld */', or
simply `ls -d */'.
Appending, to the dialogue above, the following exchange would be a
simple way to incorporate it:
But I expected to see all *and only* the directories.
That would be the output of `ls -ld */', or just `ls -d */'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FAQ, a suggested clarification,
davidson <=