Exists any kind of alternative with 'ls' command that I see just the directory sites?
Occasionally, I require to examine just the directory sites not documents. Exists any kind of alternative with the command ls? Or exists any kind of energy for doing that?
MODIFY: I'm making use of Mac OS X, and also
ls -d offers me
. despite the fact that I have directory sites.
I recognize there is currently a picked solution, yet you can get the asked for actions with simply
ls -ld -- */
(Keep in mind that the '--' notes completion of parameters, protecting against folder names starting with a hyphen from being taken more command alternatives. )
This will certainly detail all the non-hidden (unless you configure your covering's chunks to expand them ) directory sites in the existing functioning directory site where it is run (note that it additionally consists of symbolic web links to directory sites ). To get all the subdirectories of a few other folder, simply attempt :
ls -ld /path/to/directory/*/
Keep in mind that the -l is optional.