how to list the directories
How to list the directories under a certian directory??For example: how to list only directories(not files) under /home??
if I use "ls -ld /home"it only shows "."
please help me. thanks because you use a options -d ,this option will only display thedir itselft.
Please use ls -l /home.It's ok. 我只想列出目录
比如 /home下的目录(不要home/下的文件)
应该怎么做??
ls -l 是 将目录与文件一起列出 http://www.linuxsir.com/bbs/showthread.php?s=&threadid=38223&highlight=%C4%BF%C2%BC use thecommand:
$> tree -d
页:
[1]