<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Bash on </title>
    <link>https://wassimaouadi.com/tags/bash/</link>
    <description>Recent content in Bash on </description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sun, 02 Aug 2026 21:31:13 +0200</lastBuildDate>
    <atom:link href="https://wassimaouadi.com/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Linux Bash Scripting</title>
      <link>https://wassimaouadi.com/posts/linuxbashscripting/</link>
      <pubDate>Sun, 02 Aug 2026 21:31:13 +0200</pubDate>
      <guid>https://wassimaouadi.com/posts/linuxbashscripting/</guid>
      <description>&lt;h1 id=&#34;using-variables-within-bash-scripts&#34;&gt;using variables within bash scripts&lt;/h1&gt;&#xA;&lt;p&gt;I created a simple bash script, added the execute bit and moved it to &lt;em&gt;/usr/bin&lt;/em&gt; to make is accessible by all Linux users:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;user01@rhel10-vm4:~$ vim simplescript02&#xA;user01@rhel10-vm4:~$ ls -l simplescript02 &#xA;-rw-r--r--. 1 user01 user01 48 Oct 30 00:48 simplescript02&#xA;user01@rhel10-vm4:~$ chmod +x simplescript02 &#xA;user01@rhel10-vm4:~$ mv simplescript02 /usr/bin/&#xA;mv: cannot move &amp;#39;simplescript02&amp;#39; to &amp;#39;/usr/bin/simplescript02&amp;#39;: Permission denied&#xA;user01@rhel10-vm4:~$ sudo mv simplescript02 /usr/bin/&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Displaying the content of the script with numbers of lines:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
