<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shells and Shell Scripting on AminBytes</title><link>https://aminbytes.dev/bytes/shells-and-scripting/</link><description>Recent content in Shells and Shell Scripting on AminBytes</description><generator>Hugo</generator><language>en</language><atom:link href="https://aminbytes.dev/bytes/shells-and-scripting/index.xml" rel="self" type="application/rss+xml"/><item><title>Customize and use the shell environment</title><link>https://aminbytes.dev/bytes/shells-and-scripting/shell-environment/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/shells-and-scripting/shell-environment/</guid><description>&lt;p&gt;Every time you open a terminal, Bash quietly runs a handful of files before it shows you a prompt. Those files set your &lt;code&gt;PATH&lt;/code&gt;, your prompt, your aliases and your favorite shortcuts. When something &amp;ldquo;works in one terminal but not in another&amp;rdquo;, or a variable is missing in a script or after &lt;code&gt;sudo&lt;/code&gt;, the answer is almost always in which file ran and which didn&amp;rsquo;t.&lt;/p&gt;</description></item><item><title>Customize or write simple scripts</title><link>https://aminbytes.dev/bytes/shells-and-scripting/shell-scripts/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/shells-and-scripting/shell-scripts/</guid><description>&lt;p&gt;A shell script is just the commands you already type, saved in a file. Once a task has more than two steps, or you need it every night at 3 a.m., a script does it the same way every time. Administrators write small scripts constantly: check the disks, rotate a backup, add a batch of users, warn root when something is wrong.&lt;/p&gt;</description></item></channel></rss>