Board logo

标题: Linux只列出目录 [打印本页]

作者: linda    时间: 2021-3-26 11:20     标题: 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/




欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/) Powered by Discuz! 6.0.0