发新话题
打印

Linux只列出目录

Linux只列出目录

List directories only:

$ ls -d */

List files and directories with full path:

$ ls -d $PWD/*


参考:
https://linoxide.com/linux-commad-to-list-directories-directory-names-only/

TOP

发新话题