<span class="Apple-style-span" style="color: rgb(70, 70, 70); font-family: Verdana; font-size: 12px; "><div><br></div>I want to write below comands in a bat file and run the shell file so that it runs all commands automatically ?<br>
<br>wget <a href="http://asterisk.hosting.lv/bin12/codec_g723-ast12-gcc4-glibc-pentium4.so" target="_blank" style="color: rgb(153, 0, 153); text-decoration: none; font-weight: bold; background-color: transparent; ">http://asterisk.hosting.lv/bin12/codec_g723-ast12-gcc4-glibc-pentium4.so</a><br>
cp codec_g723-ast12-gcc4-glibc-pentium4.so /usr/lib/asterisk/modules/codec_g723.so<br>chmod +x /usr/lib/asterisk/modules/codec_g723.so<br>wget <a href="http://asterisk.hosting.lv/bin12/codec_g729-ast12-gcc4-glibc-pentium4.so" target="_blank" style="color: rgb(153, 0, 153); text-decoration: none; font-weight: bold; background-color: transparent; ">http://asterisk.hosting.lv/bin12/codec_g729-ast12-gcc4-glibc-pentium4.so</a><br>
cp codec_g729-ast12-gcc4-glibc-pentium4.so /usr/lib/asterisk/modules/codec_g729.so<br>chmod +x /usr/lib/asterisk/modules/codec_g729.so<br><br>Can anyone show me :</span><div><span class="Apple-style-span" style="color: rgb(70, 70, 70); font-family: Verdana; font-size: 12px;"><br>
</span></div><div><span class="Apple-style-span" style="color: rgb(70, 70, 70); font-family: Verdana; font-size: 12px; ">How to write the file and then with what name I have to save it and where I have to save.</span></div>
<div><span class="Apple-style-span" style="color: rgb(70, 70, 70); font-family: Verdana; font-size: 12px;"><br></span></div><div><span class="Apple-style-span" style="color: rgb(70, 70, 70); font-family: Verdana; font-size: 12px; ">And Most importantly how to run it ?</span><div>
<span class="Apple-style-span" style="color: rgb(70, 70, 70); font-family: Verdana; font-size: 12px;"><br></span><br><div class="gmail_quote">On Sun, Jan 25, 2009 at 10:04 PM, David @ULC <span dir="ltr"><<a href="mailto:ucoms2001@gmail.com">ucoms2001@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div>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.<div>
<br></div><div>In CentOS, I want to do the same thing.<br>
</div><div><br></div><div>Any Advice ?</div>
</blockquote></div><br></div></div>