<?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[unsert variables in Bash Scripting]]></title><description><![CDATA[<p dir="auto">මේ link වලින් ගිහින් ඔයාලට bash script ගැන කලින් කරපු post බලාගන්න පුලුවන්..</p>
<p dir="auto">Lets talk about bash script - <a href="https://lankadevelopers.com/topic/371/lets-talk-about-bash-script" target="_blank" rel="noopener noreferrer nofollow ugc">https://lankadevelopers.com/topic/371/lets-talk-about-bash-script</a></p>
<p dir="auto">First bash script - <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>
<p dir="auto">Sum of two numbers in bash script - <a href="https://lankadevelopers.com/topic/377/sum-of-two-numbers-in-bash-script" target="_blank" rel="noopener noreferrer nofollow ugc">https://lankadevelopers.com/topic/377/sum-of-two-numbers-in-bash-script</a></p>
<p dir="auto">Bash script Array introduction - <a href="https://lankadevelopers.com/topic/386/bash-script-array-introduction" target="_blank" rel="noopener noreferrer nofollow ugc">https://lankadevelopers.com/topic/386/bash-script-array-introduction</a></p>
<p dir="auto">Read only variables in Bash Scripting - <a href="https://lankadevelopers.com/topic/387/read-only-variables-in-bash-scripting" target="_blank" rel="noopener noreferrer nofollow ugc">https://lankadevelopers.com/topic/387/read-only-variables-in-bash-scripting</a></p>
<p dir="auto">අපි දැන් බලමු මොකක්ද මේ unset variables කියල කියන්නෙ කියල.<br />
මෙන්න මෙහෙමයි<br />
හිතන්න අපි මුලින්ම assign කරපු variable එකක value එක පස්සෙ අයින් කරන්න ඕනි කියල අපි මේකට use කරන්නෙ unset variables</p>
<pre><code>#!/bin/bash

y=7 #y ගේ value එක 7 යි කියල දෙනව
echo "$y" #ඒක ප්‍රින්ට් කරනවා

unset y #ඔන්න දැන් value එක අයින් කරන​වා
echo "$y" #දැන් ප්‍රින්ට් කරල බල්න්න...
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1569544639540-screen-shot-2019-09-27-at-6.07.08-am.png" alt="0_1569544638776_Screen Shot 2019-09-27 at 6.07.08 AM.png" class=" img-responsive img-markdown" /></p>
]]></description><link>https://lankadevelopers.lk/topic/388/unsert-variables-in-bash-scripting</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 03:13:03 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/388.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Sep 2019 00:38:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to unsert variables in Bash Scripting on Fri, 27 Sep 2019 19:33:52 GMT]]></title><description><![CDATA[<p dir="auto">great bro</p>
]]></description><link>https://lankadevelopers.lk/post/2291</link><guid isPermaLink="true">https://lankadevelopers.lk/post/2291</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Fri, 27 Sep 2019 19:33:52 GMT</pubDate></item><item><title><![CDATA[Reply to unsert variables in Bash Scripting on Fri, 27 Sep 2019 13:26:23 GMT]]></title><description><![CDATA[<p dir="auto">Great bro.</p>
]]></description><link>https://lankadevelopers.lk/post/2289</link><guid isPermaLink="true">https://lankadevelopers.lk/post/2289</guid><dc:creator><![CDATA[root]]></dc:creator><pubDate>Fri, 27 Sep 2019 13:26:23 GMT</pubDate></item></channel></rss>