changeset 44:5b4d5cf453a8

start bash
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 04 Jan 2024 18:27:05 -0700
parents 6fbe00837fa8
children 14518d772090
files src/learn.html.luan src/site.css
diffstat 2 files changed, 18 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/learn.html.luan	Mon Jan 01 15:18:22 2024 -0700
+++ b/src/learn.html.luan	Thu Jan 04 18:27:05 2024 -0700
@@ -39,7 +39,7 @@
 
 <p><a href="https://en.wikipedia.org/wiki/JSON">JSON</a> is the most popular text data format.  I think JSON was the last good programming idea from modern culture, developed around 2001, before modern culture became fully depraved.  Do your own research on JSON to understand it.  It is fairly simple.</p>
 
-<p>I paired Sublime Text with JSON because Sublime Text uses JSON files for its <a href="https://www.sublimetext.com/docs/settings.html">settings</a>.  (Actually not quite pure JSON because it includes comments which are lines starting with "<code>//</code>".)  Experiment with Sublime Text settings to learn more about both Sublime Text and JSON.</p>
+<p>I paired Sublime Text with JSON because Sublime Text uses JSON files for its <a href="https://www.sublimetext.com/docs/settings.html">settings</a>.  (Actually not quite pure JSON because it includes comments which are lines starting with <code>//</code>.)  Experiment with Sublime Text settings to learn more about both Sublime Text and JSON.</p>
 <%
 		end
 	}
@@ -47,7 +47,17 @@
 		title = "Bash - Command Line Shell"
 		content = function()
 %>
-<p>later</p>
+<p><a href="bash.html">Bash</a> is the other basic tool for reactionary programmers.  Learning Bash requires both reading, to understand the concepts, and practice.  Try to use Bash as much as possible instead of using the GUI so that you get practice using it.</p>
+
+<p>How you access Bash depends on your operating system.  If you are using Linux then you get Bash by default.  If you are on a Mac then you access Bash through the Mac Terminal which is found in "Applications > Utilities > Terminal.app".  Be sure to <a href="https://www.howtogeek.com/444596/how-to-change-the-default-shell-to-bash-in-macos-catalina/">set the default shell to Bash</a>.  If you are on Windows then install <a href="https://www.msys2.org/">MSYS2</a>.  The default terminal isn't so good, so I suggest <a href="https://www.msys2.org/docs/terminals/#windows-terminal">using the Windows Terminal</a>.</p>
+
+<p>This lesson will be based on two books: <a href="https://www.amazon.com/Mac-OS-Command-Line-Under/dp/0782143547/">The Mac OS X Command Line</a> and <a href="https://www.amazon.com/Shell-Programming-Unix-Linux-Developers/dp/0134496000/">Shell Programming in Unix, Linux and OS X</a>.  If you are on Linux, you may want to read <a href="https://www.amazon.com/Linux-Command-Line-2nd-Introduction/dp/1593279523/">The Linux Command Line</a>, but I won't be covering that here.  I will read the two books I recommended myself and make comments here as I read them.</p>
+
+<p>Comments on <a href="https://www.amazon.com/Mac-OS-Command-Line-Under/dp/0782143547/">The Mac OS X Command Line</a>:
+<ul>
+	<li>Chapter 1 -  Guided Tour of the Command Line.  Mac Finder = Windows File Explorer.  Mac command <code>open .</code> = Windows command <code>explorer .</code>.</li>
+</ul>
+</p>
 <%
 		end
 	}
--- a/src/site.css	Mon Jan 01 15:18:22 2024 -0700
+++ b/src/site.css	Thu Jan 04 18:27:05 2024 -0700
@@ -39,4 +39,9 @@
 
 img[src="external_link.svg"] {
 	height: 12px;
-}
\ No newline at end of file
+}
+
+code {
+	background-color: #EEE;
+	padding: 2px;
+}