use find
所在版块:求学狮城 发贴时间:2003-10-25 03:15  评分:

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
to check how to use find, try man find

the following command will list all .c and .h find in current folder. Recursively!


find ./ -iname "*.[c|h]" -perm 0444 -exec ls -al {} \;

.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

Put your OWN COOL signature here!
 相关帖子 我要回复↙ ↗回到正文
UNIX SHELL SCRIPT help? john124   (209 bytes , 350reads )
use find Cowboy   (183 bytes , 244reads )
thanks a lot. john124   (22 bytes , 155reads )