linux列出当前目录下的所有的目录?
### 列出当前目录下的所有目录:
[root@localhost ~]# ls -ld * #列出所有的文件 drwxr-xr-x. 5 root root 44 Nov 28 03:46 elasticsearch drwxr-xr-x 8 root root 134 Apr 2 12:01 elasticsearch-6.7.1 -rw-r--r-- 1 root root 148542786 Apr 10 03:44 elasticsearch-6.7.1.tar.gz -rw-r--r-- 1 root root 15080 Mar 6 21:45 epel-release-latest-7.noarch.rpm -rw------- 1 root root 308696064 Apr 22 05:23 grafana_500.tar drwxr-xr-x 2 root root 6 Nov 28 03:39 ik_src drwxr-xr-x. 2 root root 41 Sep 5 2018 images -rw-r--r-- 1 root root 910812 Dec 5 05:26 nginx-1.10.2.tar.gz drwxr-xr-x. 3 root root 94 Sep 5 2018 pinyin_src [root@localhost ~]# ls -ld */ #仅仅会列出所有目录 drwxr-xr-x. 5 root root 44 Nov 28 03:46 elasticsearch/ drwxr-xr-x 8 root root 134 Apr 2 12:01 elasticsearch-6.7.1/ drwxr-xr-x 2 root root 6 Nov 28 03:39 ik_src/ drwxr-xr-x. 2 root root 41 Sep 5 2018 images/ drwxr-xr-x. 3 root root 94 Sep 5 2018 pinyin_src/