From c8f3f784ee02c222734ed28ec3b49c2fdbeb0028 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 3 Oct 2019 13:53:04 +0100 Subject: [PATCH] Create linux basics section --- css/theme.css | 7 ++++++ index.html | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/css/theme.css b/css/theme.css index b2e610f..14452ee 100644 --- a/css/theme.css +++ b/css/theme.css @@ -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; } diff --git a/index.html b/index.html index bb99efe..7fe909c 100644 --- a/index.html +++ b/index.html @@ -169,11 +169,81 @@ +
+
+

Linux Basics

+
+
+

Things to talk about

+
    +
  • Similarities and differences to Windows
  • +
  • Filesystem structure
  • +
  • Typing your password with sudo
  • +
+
+
+

Similarities and Differeences

+
    +
  • Command line → Terminal
  • +
  • Package management - more on this later
  • +
  • File system: ext4, not NTFS
  • +
+
+
+

Filesystem Structure

+
    +
  • Everything starts with /
  • +
  • ...and everything is a file
  • +
+
+
+

Places to remember

+ + + + + + + + + + + + + + + + + + + + + +
/etcConfiguration files
/homeUser home folders
/usr/binProgram binaries (also other places; some are symlinks)
/var/logLog files
/devHardware devices
+
+
+

Typing your password

+
    +
  • On Linux, typing your password is a key security mechanism
  • +
  • + Ask yourself: +
      +
    • "Why am I typing my password?"
    • +
    • "Do I understand what it's going to do?"
    • +
    • "Do I trust the program?"
    • +
    +
  • +
  • Ask for help / an explanation if unsure
  • +
+
+
+