[asterisk-users] CentOS and BAT File

David @ULC ucoms2001 at gmail.com
Sun Jan 25 11:26:26 CST 2009


I want to write below comands in a bat file and run the shell file so that
it runs all commands automatically ?

wget
http://asterisk.hosting.lv/bin12/codec_g723-ast12-gcc4-glibc-pentium4.so
cp codec_g723-ast12-gcc4-glibc-pentium4.so
/usr/lib/asterisk/modules/codec_g723.so
chmod +x /usr/lib/asterisk/modules/codec_g723.so
wget
http://asterisk.hosting.lv/bin12/codec_g729-ast12-gcc4-glibc-pentium4.so
cp codec_g729-ast12-gcc4-glibc-pentium4.so
/usr/lib/asterisk/modules/codec_g729.so
chmod +x /usr/lib/asterisk/modules/codec_g729.so

Can anyone show me :
How to write the file and then with what name I have to save it and where I
have to save.

And Most importantly how to run it ?

On Sun, Jan 25, 2009 at 10:04 PM, David @ULC <ucoms2001 at gmail.com> wrote:

>
> In windows, we use BAT file to execute few series of command , which help
> us in not writing each command manually everytime we want to execute those
> commands.
> In CentOS, I want to do the same thing.
>
> Any Advice ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090125/2e494861/attachment.htm 


More information about the asterisk-users mailing list