<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Learn Practical BASH Scripting Projects &#8211; Part III	</title>
	<atom:link href="https://www.tecmint.com/sailing-through-the-world-of-linux-bash-scripting-part-iii/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/sailing-through-the-world-of-linux-bash-scripting-part-iii/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 01 Feb 2024 06:44:28 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: vgon		</title>
		<link>https://www.tecmint.com/sailing-through-the-world-of-linux-bash-scripting-part-iii/comment-page-1/#comment-781920</link>

		<dc:creator><![CDATA[vgon]]></dc:creator>
		<pubDate>Wed, 18 May 2016 23:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=3555#comment-781920</guid>

					<description><![CDATA[#!/bin/bash
while :
do
ops==+-*/
opwords=( ” Sum Difference Product Quotient )
sum=0
read -ep “Enter first no.: ” n1
read -ep “Enter second no.: ” n2
printf “%d. %s\n” 1 Addition 2 Subtraction 3 Multiplication 4 Division
read -sn1 -ep “Enter your choice: ” ch
(( ch &#062; 0 &#038;&#038; ch &#060; 5 )) &#038;&#038;
printf &#039;%s: %d\n&#039; &#034;${opwords[ch]}&#034; &#034;$(( n1 ${ops:ch:1} n2 ))&#034; &#124;&#124;
echo &#034;Invalid choice&#034;
read -sn1 -ep &#034;Do you want to continue (y/n)?&#034; i
[[ $i != &#034;y&#034; ]] &#038;&#038; exit
done]]></description>
			<content:encoded><![CDATA[<p>#!/bin/bash<br />
while :<br />
do<br />
ops==+-*/<br />
opwords=( ” Sum Difference Product Quotient )<br />
sum=0<br />
read -ep “Enter first no.: ” n1<br />
read -ep “Enter second no.: ” n2<br />
printf “%d. %s\n” 1 Addition 2 Subtraction 3 Multiplication 4 Division<br />
read -sn1 -ep “Enter your choice: ” ch<br />
(( ch &gt; 0 &amp;&amp; ch &lt; 5 )) &amp;&amp;<br />
printf &#039;%s: %d\n&#039; &quot;${opwords[ch]}&quot; &quot;$(( n1 ${ops:ch:1} n2 ))&quot; ||<br />
echo &quot;Invalid choice&quot;<br />
read -sn1 -ep &quot;Do you want to continue (y/n)?&quot; i<br />
[[ $i != &quot;y&quot; ]] &amp;&amp; exit<br />
done</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dragodan		</title>
		<link>https://www.tecmint.com/sailing-through-the-world-of-linux-bash-scripting-part-iii/comment-page-1/#comment-701001</link>

		<dc:creator><![CDATA[dragodan]]></dc:creator>
		<pubDate>Wed, 04 Nov 2015 14:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=3555#comment-701001</guid>

					<description><![CDATA[in up.sh script, why it is needed to have exec /bin/bash at the end. I tried without last line and it does not work.

Thanks in advance]]></description>
			<content:encoded><![CDATA[<p>in up.sh script, why it is needed to have exec /bin/bash at the end. I tried without last line and it does not work.</p>
<p>Thanks in advance</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Saravanan		</title>
		<link>https://www.tecmint.com/sailing-through-the-world-of-linux-bash-scripting-part-iii/comment-page-1/#comment-353169</link>

		<dc:creator><![CDATA[Saravanan]]></dc:creator>
		<pubDate>Thu, 30 Oct 2014 11:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=3555#comment-353169</guid>

					<description><![CDATA[Hi Team ,

  Can you please explain how the rcmd command is working &#038; how can i run multiple commands on remote machine by using the rcmd command. It will be useful if get the reply with the new post .


Regards,
Saravanan]]></description>
			<content:encoded><![CDATA[<p>Hi Team ,</p>
<p>  Can you please explain how the rcmd command is working &amp; how can i run multiple commands on remote machine by using the rcmd command. It will be useful if get the reply with the new post .</p>
<p>Regards,<br />
Saravanan</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chris F.A. Johnson		</title>
		<link>https://www.tecmint.com/sailing-through-the-world-of-linux-bash-scripting-part-iii/comment-page-1/#comment-217443</link>

		<dc:creator><![CDATA[Chris F.A. Johnson]]></dc:creator>
		<pubDate>Fri, 18 Jul 2014 18:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=3555#comment-217443</guid>

					<description><![CDATA[#!/bin/bash
while :
do
  ops==+-*/
  opwords=( &#039;&#039; Sum Difference Product Quotient )
  sum=0
  read -ep &quot;Enter first no.: &quot; n1
  read -ep &quot;Enter second no.: &quot; n2
  printf &quot;%d. %s\n&quot;  1 Addition 2 Subtraction 3 Multiplication 4 Division
  read -sn1 -ep &quot;Enter your choice: &quot; ch
  (( ch &#062; 0 &#038;&#038; ch &#060; 5 )) &#038;&#038;
     printf &#039;%s: %d\n&#039; &#034;${opwords[ch]}&#034; &#034;$(( n1 ${ops:ch:1} n2 ))&#034; &#124;&#124;
       echo &#034;Invalid choice&#034;
  read -sn1 -ep &#034;Do you want to continue (y/n)?&#034; i
  [[ $i != &#034;y&#034; ]] &#038;&#038; exit
done]]></description>
			<content:encoded><![CDATA[<p>#!/bin/bash<br />
while :<br />
do<br />
  ops==+-*/<br />
  opwords=( &#8221; Sum Difference Product Quotient )<br />
  sum=0<br />
  read -ep &#8220;Enter first no.: &#8221; n1<br />
  read -ep &#8220;Enter second no.: &#8221; n2<br />
  printf &#8220;%d. %s\n&#8221;  1 Addition 2 Subtraction 3 Multiplication 4 Division<br />
  read -sn1 -ep &#8220;Enter your choice: &#8221; ch<br />
  (( ch &gt; 0 &amp;&amp; ch &lt; 5 )) &amp;&amp;<br />
     printf &#039;%s: %d\n&#039; &quot;${opwords[ch]}&quot; &quot;$(( n1 ${ops:ch:1} n2 ))&quot; ||<br />
       echo &quot;Invalid choice&quot;<br />
  read -sn1 -ep &quot;Do you want to continue (y/n)?&quot; i<br />
  [[ $i != &quot;y&quot; ]] &amp;&amp; exit<br />
done</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Richard		</title>
		<link>https://www.tecmint.com/sailing-through-the-world-of-linux-bash-scripting-part-iii/comment-page-1/#comment-55115</link>

		<dc:creator><![CDATA[Richard]]></dc:creator>
		<pubDate>Tue, 08 Oct 2013 03:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=3555#comment-55115</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/sailing-through-the-world-of-linux-bash-scripting-part-iii/comment-page-1/#comment-53995&quot;&gt;Chris&lt;/a&gt;.

Hi Chris,

Could you elaborate? How would you change it?  The test is inherent to the while statement and thus not needed.  Correct?

rc]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/sailing-through-the-world-of-linux-bash-scripting-part-iii/comment-page-1/#comment-53995">Chris</a>.</p>
<p>Hi Chris,</p>
<p>Could you elaborate? How would you change it?  The test is inherent to the while statement and thus not needed.  Correct?</p>
<p>rc</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
