<br><br><div class="gmail_quote">2009/1/25 David @ULC <span dir="ltr">&lt;<a href="mailto:ucoms2001@gmail.com">ucoms2001@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span style="font-family: &#39;Times New Roman&#39;; font-size: 16px;"><pre><span style="font-style: italic;"><br></span></pre><pre><i>1) What name I have to save it.Like what extension ?</i></pre></span></blockquote><div>
extension? that isnt important but the common is to use .sh for shell scripts <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span style="font-family: &#39;Times New Roman&#39;; font-size: 16px;"><pre>
<i></i></pre>
<pre><span style="font-style: italic;">3) How I save it ?</span></pre></span></blockquote><div>open any text editor write and save <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span style="font-family: &#39;Times New Roman&#39;; font-size: 16px;"><pre><span style="font-style: italic;"></span></pre><pre><i>2) How to run it to execute it ?</i></pre></span></blockquote><div>set runing permisions chmod +x .....<br>
and then &quot;./name&quot;&nbsp; there is a dot before the slash.<br><br>you should read the links about bash programing, it is a very usefull skill for linux admin. and probably you MUST have that skill....<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span style="font-family: &#39;Times New Roman&#39;; font-size: 16px;"><pre><i></i></pre><pre><span style="font-style: italic;">Should i do </span></pre>
<pre><span style="font-style: italic;"><br></span></pre><pre><span style="font-style: italic;">vi autobatch</span></pre><pre><span style="font-style: italic;">and then type and then save it ?</span></pre><div class="Ih2E3d">

<pre><span style="font-style: italic;"><br></span></pre><pre><i></i>&gt;<i> have to save.
</i>&gt;<i>
</i>&gt;<i> And Most importantly how to run it ?</i></pre><pre><span style="font-style: italic;"><br></span></pre></div></span><br><div class="gmail_quote"><div class="Ih2E3d">On Sun, Jan 25, 2009 at 10:04 PM, David @ULC <span dir="ltr">&lt;<a href="mailto:ucoms2001@gmail.com" target="_blank">ucoms2001@gmail.com</a>&gt;</span> wrote:<br>

</div><div><div></div><div class="Wj3C7c"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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></div></div><br>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
 &nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br> (\__/) <br>(=&#39;.&#39;=)This is Bunny. Copy and paste bunny into your <br>
(&quot;)_(&quot;)signature to help him gain world domination. <br><br>