Create linux basics section
All checks were successful
continuous-integration/laminar-elessar Build 58 succeeded in 57 seconds .

This commit is contained in:
Starbeamrainbowlabs 2019-10-03 13:53:04 +01:00
parent fac6b3445e
commit c8f3f784ee
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 77 additions and 0 deletions

View file

@ -2,6 +2,7 @@
:root {
--accent-main: #FE6431;
--bg-dark-trans: hsla(0, 0%, 19%, 0.5);
--bg-dark: #323232;
--bg-light: white;
}
@ -51,6 +52,12 @@ img {
max-height: fit-content;
}
table { border-collapse: collapse; }
td, th {
border: 0.075em solid var(--bg-dark-trans);
vertical-align: top;
}
.bg-light { background: var(--bg-light); }
.centre-content { text-align: center; }

View file

@ -169,11 +169,81 @@
<ul>
<li>Installation complete!</li>
<li>What next?</li>
<li>Linux basics</li>
<li>Let's write some C&sharp;</li>
</ul>
</article>
</section>
<section>
<article class="title">
<h1>Linux Basics</h1>
</article>
<article>
<h2>Things to talk about</h2>
<ul>
<li>Similarities and differences to Windows</li>
<li>Filesystem structure</li>
<li>Typing your password with <code>sudo</code></li>
</ul>
</article>
<article>
<h2>Similarities and Differeences</h2>
<ul>
<li>Command line → Terminal</li>
<li>Package management - more on this later</li>
<li>File system: ext4, not NTFS</li>
</ul>
</article>
<article>
<h2>Filesystem Structure</h2>
<ul>
<li>Everything starts with <code>/</code></li>
<li>...and everything is a file</li>
</ul>
</article>
<article>
<h2>Places to remember</h2>
<table>
<tr>
<td><code>/etc</code></td>
<td>Configuration files</td>
</tr>
<tr>
<td><code>/home</code></td>
<td>User home folders</td>
</tr>
<tr>
<td><code>/usr/bin</code></td>
<td>Program binaries (also other places; some are symlinks)</td>
</tr>
<tr>
<td><code>/var/log</code></td>
<td>Log files</td>
</tr>
<tr>
<td><code>/dev</code></td>
<td>Hardware devices</td>
</tr>
</table>
</article>
<article class="">
<h2>Typing your password</h2>
<ul>
<li>On Linux, typing your password is a key security mechanism</li>
<li>
Ask yourself:
<ul>
<li>"Why am I typing my password?"</li>
<li>"Do I understand what it's going to do?"</li>
<li>"Do I trust the program?"</li>
</ul>
</li>
<li>Ask for help / an explanation if unsure</li>
</ul>
</article>
</section>
<section>
<article class="title">