ls -l|grep ^d 只列目录

RT

原文地址:https://www.cnblogs.com/weiryang/p/3274805.html