Mercurial Hosting > reactionary
comparison src/learn.html.luan @ 45:14518d772090
start learn_bash
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 05 Jan 2024 01:34:32 -0700 |
parents | 5b4d5cf453a8 |
children | 3057adc065f3 |
comparison
equal
deleted
inserted
replaced
44:5b4d5cf453a8 | 45:14518d772090 |
---|---|
47 title = "Bash - Command Line Shell" | 47 title = "Bash - Command Line Shell" |
48 content = function() | 48 content = function() |
49 %> | 49 %> |
50 <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> | 50 <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> |
51 | 51 |
52 <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> | 52 <p>I was hoping to just reference existing Bash tutorials in this lesson, but they are all horrible, so I am writing my own. So for this lesson, read <a href="learn_bash.html">my tutorial</a> which is currently a work in progress.</p> |
53 | |
54 <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> | |
55 | |
56 <p>Comments on <a href="https://www.amazon.com/Mac-OS-Command-Line-Under/dp/0782143547/">The Mac OS X Command Line</a>: | |
57 <ul> | |
58 <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> | |
59 </ul> | |
60 </p> | |
61 <% | 53 <% |
62 end | 54 end |
63 } | 55 } |
64 hg = { | 56 hg = { |
65 title = "Mercurial - Source Control" | 57 title = "Mercurial - Source Control" |
144 <!doctype html> | 136 <!doctype html> |
145 <html> | 137 <html> |
146 <head> | 138 <head> |
147 <% head() %> | 139 <% head() %> |
148 <title>Learn Reactionary Programming</title> | 140 <title>Learn Reactionary Programming</title> |
149 <style> | |
150 div[toc] ul { | |
151 list-style-type: none; | |
152 } | |
153 div[toc] > ul { | |
154 padding-left: 0; | |
155 } | |
156 div[toc] > ul > li { | |
157 margin-bottom: 16px; | |
158 } | |
159 div[heading] { | |
160 display: flex; | |
161 justify-content: space-between; | |
162 margin-top: 36px; | |
163 } | |
164 div[heading] > * { | |
165 margin: 0; | |
166 } | |
167 div[heading] > a { | |
168 font-size: 14px; | |
169 } | |
170 </style> | |
171 </head> | 141 </head> |
172 <body> | 142 <body> |
173 <% header() %> | 143 <% header() %> |
174 <div content> | 144 <div content> |
175 <h1><a href="learn.html">Learn Reactionary Programming</a></h1> | 145 <h1><a href="learn.html">Learn Reactionary Programming</a></h1> |