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 <ucoms2...@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 ?
>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to