comparison src/learn.html.luan @ 44:5b4d5cf453a8

start bash
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 04 Jan 2024 18:27:05 -0700
parents 6fbe00837fa8
children 14518d772090
comparison
equal deleted inserted replaced
43:6fbe00837fa8 44:5b4d5cf453a8
37 37
38 <p>I reviewed the available text editors and I think <a href="https://www.sublimetext.com/">Sublime Text</a> is the best one available. So please download it and learn how it works.</p> 38 <p>I reviewed the available text editors and I think <a href="https://www.sublimetext.com/">Sublime Text</a> is the best one available. So please download it and learn how it works.</p>
39 39
40 <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> 40 <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>
41 41
42 <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> 42 <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>
43 <% 43 <%
44 end 44 end
45 } 45 }
46 bash = { 46 bash = {
47 title = "Bash - Command Line Shell" 47 title = "Bash - Command Line Shell"
48 content = function() 48 content = function()
49 %> 49 %>
50 <p>later</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
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>
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>
51 <% 61 <%
52 end 62 end
53 } 63 }
54 hg = { 64 hg = {
55 title = "Mercurial - Source Control" 65 title = "Mercurial - Source Control"