Ping 소리나게 하기

혼자 작업할때 유용함.

#!/bin/sh
while [ 1 ]; do ping -c 1 -t 1 211.239.119.135 ; if [ $? != 0 ]; then echo -e "\a" ; fi; sleep 1; done;
#while true; do ping -c 1 -W 28800 168.126.63.1  && echo -e '\a'; sleep 1; done

위에껀 핑이 되지 않으면 소리나는 거고
밑에껀 핑이 되면 소리나는거..
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 노는총각

2009/03/30 22:53 2009/03/30 22:53
Response
No Trackback , No Comment
RSS :
http://blog.zeroidle.com/rss/response/173

Trackback URL : http://blog.zeroidle.com/trackback/173

Leave a comment
[로그인][오픈아이디란?]
« Previous : 1 : ... 7 : 8 : 9 : 10 : 11 : 12 : 13 : 14 : 15 : ... 148 : Next »

블로그 이미지

버그가 없어도 전혀 기쁘지 않아!!!

- 노는총각

Notices

Archives

Calendar

«   2010/03   »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Site Stats

Total hits:
50787
Today:
44
Yesterday:
115