免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: gao_linfeng
打印 上一主题 下一主题

今天是我女儿的1周岁生日,发个脚本,这个能让pc喇叭实现按键发音 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2008-08-06 17:11 |显示全部楼层
说到ping,说一下ping的一个很好玩而且好用的功能ping -f +ip
要root权限,动态显示主机和你的ping值。
如果你ping -f +ip >a.log的话,用vi打开,一般会是这样:
......^H.^H.^H.^H^H.^H..^H.^H^H.^H^H..^H
附man:
-f     Flood ping. For every ECHO_REQUEST sent a period ‘‘.’’ is printed, while for  ever  ECHO_REPLY
              received  a backspace is printed.  This provides a rapid display of how many packets are being
              dropped.  If interval is not given, it sets interval to zero and outputs packets  as  fast  as
              they  come  back  or one hundred times per second, whichever is more.  Only the super-user may
              use this option with zero interval.

论坛徽章:
0
2 [报告]
发表于 2008-08-06 22:40 |显示全部楼层

回复 #21 dreamone503 的帖子

LZ说的先装beep的。

论坛徽章:
0
3 [报告]
发表于 2008-08-06 22:44 |显示全部楼层
很好的脚本,+10鼓励

[ 本帖最后由 walkerxk 于 2008-8-6 22:45 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-08-07 15:03 |显示全部楼层
是20-20000吧,
另外,还可以复杂一点,用两个参数,一个时间,一个频率,不然感觉太死板了。

论坛徽章:
0
5 [报告]
发表于 2008-08-07 17:37 |显示全部楼层
我觉得乐谱文件可以
200 100
150 150
这样,或者是200#100@155#150@格式不是问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP