Do not show results if directory is empty using Bash

后端 未结 3 1526
面向向阳花
面向向阳花 2021-01-20 22:20

For example, try following command in an empty directory:

$ for i in *; do echo $i; done
*

Is there a way to suppress the printout of

3条回答
提交回复
热议问题