how to play beep sound inside shell script?
Hi All,
I need to make beep sound inside my basic shell script.
ex:
#!/bin/sh
if ping 172.16.XXX.XXX
then
echo " Server is running "
else
#--- make system sound--------
echo " Server idle "
fi
note:
how to check my linux system is working with these system sounds ?
ex :
$] beep
there were no any sound play through speaker
but
system --> preferences--> sound
all testing stages are successful.
Regards,
HK
Last edited by hk_centos; 08-04-2011 at 02:33 AM.
Reason: My fault
|