[转] shell脚本中一些特殊符号
摘要:
转:http://blog.chinaunix.net/u1/49742/showart_2001591.html 1、{}大括号: 用法一:通配符扩展 eg: ls my_{finger,toe}s 这条命令相当于如下命令的组合: ls my_fingers my_toes eg: mkdir {userA,userB,userC}-{home,bin,data}我们将得到 userA-home, userA-bin, userA-data, userB-home, userB-bin,userB-data,userC-home, userC-bin, userC-data,这几个目录用法. 阅读全文
posted @ 2012-08-06 18:04 haivey 阅读(207) 评论(0) 推荐(0)
浙公网安备 33010602011771号