<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div class="Ih2E3d"><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: 'Times New Roman'; 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>
<div>
extension? that isnt important but the common is to use .sh for shell scripts </div></div></blockquote><div><br>That's one of the strange things you'll notice if you're used to a Windows environment. Under Linux, it doesn't matter if you give your script a file extension or not. Linux still knows what to do with it.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><br></div><div class="Ih2E3d"><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: 'Times New Roman'; font-size: 16px;"><pre><i></i></pre>
<pre><span style="font-style: italic;">3) How I save it ?</span></pre></span></blockquote></div><div>open any text editor write and save <br></div><div class="Ih2E3d"><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: 'Times New Roman'; 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><div>set runing permisions chmod +x .....<br>
and then "./name" 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></div></div></blockquote>
</div><br>