<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Bash on Benny Simmonds</title>
    <link>https://www.bencode.io/tags/bash/</link>
    <description>Recent content in Bash on Benny Simmonds</description>
    <generator>Hugo -- 0.149.1</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 19 Nov 2021 18:37:01 +0000</lastBuildDate>
    <atom:link href="https://www.bencode.io/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>bash</title>
      <link>https://www.bencode.io/posts/2016-05-01-bash/</link>
      <pubDate>Sun, 01 May 2016 01:01:01 +0000</pubDate>
      <guid>https://www.bencode.io/posts/2016-05-01-bash/</guid>
      <description>&lt;p&gt;Bash is a Unix shell written by Brian Fox in 1989 for the GNU Project as a free replacement for the &lt;a href=&#34;https://en.wikipedia.org/wiki/Bourne_shell&#34;&gt;Bourne shell&lt;/a&gt;. To this day, Bash remains one of the most powerful and ubiquitous scripting tools on the planet.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Brian Fox the creator of Bash&#34; loading=&#34;lazy&#34; src=&#34;https://www.bencode.io/images/bfox.jpg&#34; title=&#34;Brian Fox the creator of Bash&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;contents&#34;&gt;Contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#useful-shortcuts&#34;&gt;Useful Shortcuts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#initialisation&#34;&gt;Initialisation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#shell-grammar&#34;&gt;Shell Grammar&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#variables&#34;&gt;Variables&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#local-variables&#34;&gt;Local variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#environment-variables&#34;&gt;Environment variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#positional-arguments&#34;&gt;Positional arguments&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#expansions&#34;&gt;Expansions&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#brace-expansion&#34;&gt;Brace expansion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#command-substitution&#34;&gt;Command substitution&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#arithmetic-expansion&#34;&gt;Arithmetic expansion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#double-and-single-quotes&#34;&gt;Double and single quotes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#stream-redirection&#34;&gt;Stream Redirection&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#here-documents&#34;&gt;here documents&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#arrays&#34;&gt;Arrays&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#conditions&#34;&gt;Conditions&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#if-statements&#34;&gt;if statements&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#case-statements&#34;&gt;case statements&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#loops&#34;&gt;Loops&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#for-loops&#34;&gt;For Loops&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#select-loops&#34;&gt;Select Loops&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#while-loops&#34;&gt;While Loops&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#until-loops&#34;&gt;Until Loops&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#functions&#34;&gt;Functions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#coprocesses&#34;&gt;Coprocesses&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#builtins&#34;&gt;Builtins&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#bash-recipes&#34;&gt;Bash Recipes&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#top-6-largest-things-in-the-current-directory&#34;&gt;Top 6 largest things in the current directory&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#display-the-23rd-line-of-etcpasswd&#34;&gt;Display the 23rd line of /etc/passwd&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#filter-the-first-column-from-process-status&#34;&gt;Filter the first column from process status&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#delete-subversion-scrap-files&#34;&gt;Delete Subversion scrap files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#move-shell-scripts-and-mark-them-as-executable&#34;&gt;Move shell scripts and mark them as executable&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#pattern-matching&#34;&gt;Pattern matching&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#scan-code-base-against-list-of-patterns&#34;&gt;Scan code base against list of patterns&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#rename-multiple-files&#34;&gt;Rename Multiple Files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#run-a-command-every-time-a-file-is-modified&#34;&gt;Run a command every time a file is modified&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#keep-a-program-running-after-leaving-ssh-session&#34;&gt;Keep a program running after leaving SSH session&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#simple-menu-and-functions&#34;&gt;Simple menu and functions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#complete-example&#34;&gt;Complete example&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#resources&#34;&gt;Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Kudos to Denys Dovhan and his awesome &lt;a href=&#34;https://github.com/denysdovhan/Bash-handbook&#34;&gt;Bash handbook&lt;/a&gt;. The most digestable, and enjoyable method I&amp;rsquo;ve found to groking bash. &amp;lt;3&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
