ls命令只显示目录 Posted on 2013-11-22 Edited on 2020-12-04 In GNU/Linux 串接ls,grep和sed实现只列目录的命令,ls -F grep / sed “s/\///“,长模式列目录的话更简单ls -l grep /