摘要:
Shell数组的增删改查 shell数组的定义及取值: a=(1 2 3) a=(1 2 3) [root@bogon tmp]# echo ${a[*]} 1 2 3 [root@bogon tmp]# echo ${a[@]} 1 2 3 增加数组元素: [root@bogon tmp]# a[ 阅读全文
posted @ 2016-04-29 14:50
唐胜伟
阅读(4939)
评论(0)
推荐(0)
摘要:
给网卡配置10个临时ip地址,但是不配置192.168.17.15这个ip 阅读全文
posted @ 2016-04-29 14:39
唐胜伟
阅读(597)
评论(0)
推荐(0)
摘要:
Linux系统产生随机数的3种方法 方法一:生成8位随机数 [root@localhost ~]# echo "$RANDOM$(date +%N%t)" | md5sum | cut -c 15-22 96afc009 [root@localhost ~]# echo "$RANDOM$(date 阅读全文
posted @ 2016-04-29 13:49
唐胜伟
阅读(735)
评论(0)
推荐(0)
摘要:
安装服务脚本例子之打印菜单 阅读全文
posted @ 2016-04-29 10:33
唐胜伟
阅读(196)
评论(0)
推荐(0)
浙公网安备 33010602011771号