<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sum of two numbers in bash script]]></title><description><![CDATA[<p dir="auto">හරි අපි පලෙවෙනි script එකෙන් කතා කලා කොහමද bash script එකක් use karala දෙයක් print කරන්නෙ කියල අද අපි බලමු කොහොමද arithmatic operatorse use කරන්නෙ කියල.</p>
<p dir="auto">මම ඔයාලට කලින් post එකෙ කියල දුන්න විදියට bash script file එක හදාගන්න - <a href="https://lankadevelopers.com/topic/372/first-bash-script" target="_blank" rel="noopener noreferrer nofollow ugc">https://lankadevelopers.com/topic/372/first-bash-script</a></p>
<pre><code>#!/bin/bash 

num1=250 #value assign කරන විදිය 
num2=500 #මතක තියාගන්න මෙ වගේම space තියන්නෙ නැතුව script එක ලියන්න 
echo "number 1 = " $num1#number 1 එකේ value එක print කරන විදිය 
echo "number 2 = " $num2
echo "number 1 + number 2 =" $[num1 + num2]#value දෙකක් එකතු කරන විදිය 

</code></pre>
<p dir="auto">ඊට පස්සෙ මේ Script file එකට permission දීලා Run කරන්න</p>
]]></description><link>https://lankadevelopers.lk/topic/377/sum-of-two-numbers-in-bash-script</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 02:12:30 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/377.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 21 Sep 2019 03:40:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sum of two numbers in bash script on Sat, 21 Sep 2019 12:28:37 GMT]]></title><description><![CDATA[<p dir="auto">Superb bro</p>
]]></description><link>https://lankadevelopers.lk/post/2245</link><guid isPermaLink="true">https://lankadevelopers.lk/post/2245</guid><dc:creator><![CDATA[root]]></dc:creator><pubDate>Sat, 21 Sep 2019 12:28:37 GMT</pubDate></item><item><title><![CDATA[Reply to Sum of two numbers in bash script on Sat, 21 Sep 2019 05:28:24 GMT]]></title><description><![CDATA[<p dir="auto">Patta maru mchan</p>
]]></description><link>https://lankadevelopers.lk/post/2244</link><guid isPermaLink="true">https://lankadevelopers.lk/post/2244</guid><dc:creator><![CDATA[Nubelle]]></dc:creator><pubDate>Sat, 21 Sep 2019 05:28:24 GMT</pubDate></item></channel></rss>