linux_introduction/todo_over_the_break.md

31 KiB

Introduction to Linux

  • Link to course documentation

Student notes:

TODO

Where does Linux originate from?

  • Link to course documentation

Student notes:

TODO

Who is behind this project?

  • Link to course documentation

Student notes:

TODO

What is the deal with 'GNU-slash-Linux'?

  • Link to course documentation

Student notes:

TODO

Where can you get some Linux?

  • Link to course documentation

Student notes:

TODO

Debian

  • Link to course documentation

Student notes:

TODO

How to create a virtual machine

  • Link to course documentation

Student notes:

TODO

Breakdown of the Debian installation

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

Quick look at an idle system

  • Link to course documentation

Student notes:

TODO

Package managers

  • Link to course documentation

Student notes:

TODO

Graphical installation

  • Link to course documentation

Student notes:

TODO

Command line installation

  • Link to course documentation

Student notes:

TODO

Adding a secondary desktop environment

  • Link to course documentation

Student notes:

TODO

Changing the runlevel

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

Guest additions

  • Link to course documentation

Student notes:

TODO

Introduction to the command line

  • Link to course documentation

Student notes:

TODO

Compiled vs interpreted

  • Link to course documentation

Student notes:

TODO

Note on file extensions

  • Link to course documentation

Student notes:

TODO

More about paths

  • Link to course documentation

Student notes:

TODO

Absolute and relative paths

  • Link to course documentation

Student notes:

TODO

root and / and /root are not the same thing

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

A pit stop to review what we've learned so far

  • Link to course documentation

Student notes:

TODO

Arguments and flags

  • Link to course documentation

Student notes:

TODO

Getting help

  • Link to course documentation

Student notes:

TODO

Options

  • Link to course documentation

Student notes:

TODO

Manuals

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

Creating, modifying and deleting

  • Link to course documentation

Student notes:

TODO

Directories

  • Link to course documentation

Student notes:

TODO

Files

  • Link to course documentation

Student notes:

TODO

Links

  • Link to course documentation

Student notes:

TODO

Editors

  • Link to course documentation

Student notes:

TODO

nano

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

vi and vim

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

Opening or peaking into files

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

Finding stuff

  • Link to course documentation

Student notes:

TODO

Finding files

  • Link to course documentation

Student notes:

TODO

The easy way

  • Link to course documentation

Student notes:

TODO

The hard way

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

Searching inside files

  • Link to course documentation

Student notes:

TODO

Wild cards and regular expressions

  • Link to course documentation

Student notes:

TODO

Wild cards

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

Exercise

  • Link to course documentation

Student notes:

TODO

Regular expressions

  • Link to course documentation

Student notes:

TODO

Pipes and redirects

  • Link to course documentation

Student notes:

TODO

Redirecting

  • Link to course documentation

Student notes:

TODO

Input redirection

  • Link to course documentation

Student notes:

TODO

Piping

  • Link to course documentation

Student notes:

TODO

Text manipulation

  • Link to course documentation

Student notes:

TODO

Ideas

  • Link to course documentation

Student notes:

TODO

Exercises

  • Link to course documentation

Student notes:

TODO

Mini exercise 1

  • Link to course documentation

Student notes:

TODO

Mini exercise 2

  • Link to course documentation

Student notes:

TODO

Mini exercise 3

  • Link to course documentation

Student notes:

TODO

Mini exercise 4

  • Link to course documentation

Student notes:

TODO

Mini exercise 5

  • Link to course documentation

Student notes:

TODO

Mini exercise 6

  • Link to course documentation

Student notes:

TODO

Ideas

  • Link to course documentation

Student notes:

TODO

Users

  • Link to course documentation

Student notes:

TODO

Adding and removing users

  • Link to course documentation

Student notes:

TODO

GNOME

  • Link to course documentation

Student notes:

TODO

command line

  • Link to course documentation

Student notes:

TODO

Switching user

  • Link to course documentation

Student notes:

TODO

Groups

  • Link to course documentation

Student notes:

TODO

Permissions

  • Link to course documentation

Student notes:

TODO

Octal number system

  • Link to course documentation

Student notes:

TODO

Changing ownership

  • Link to course documentation

Student notes:

TODO

umask

  • Link to course documentation

Student notes:

TODO

Essential programs

  • Link to course documentation

Student notes:

TODO

Remote control of a server

  • Link to course documentation

Student notes:

TODO

History

  • Link to course documentation

Student notes:

TODO

SSH and SFTP

  • Link to course documentation

Student notes:

TODO

Bandit

  • Link to course documentation

Student notes:

TODO

bash

  • Link to course documentation

Student notes:

TODO

Using variables to store the output of command

  • Link to course documentation

Student notes:

TODO

Coding challenge - Output system stats

  • Link to course documentation

Student notes:

TODO

Getting input into the script

  • Link to course documentation

Student notes:

TODO

With read

  • Link to course documentation

Student notes:

TODO

Coding challenge - Secret input

  • Link to course documentation

Student notes:

TODO

read multiple variables

  • Link to course documentation

Student notes:

TODO

Exercise - unpack values

  • Link to course documentation

Student notes:

TODO

With command line arguments

  • Link to course documentation

Student notes:

TODO

Coding Challenge - output the exact output below

  • Link to course documentation

Student notes:

TODO

More math!

  • Link to course documentation

Student notes:

TODO

The let keyword

  • Link to course documentation

Student notes:

TODO

The expr keyword

  • Link to course documentation

Student notes:

TODO

Double parenthesis

  • Link to course documentation

Student notes:

TODO

Variable length

  • Link to course documentation

Student notes:

TODO

If Statements - How to make decisions within your Bash script.

  • Link to course documentation

Student notes:

TODO

How does it work behind the scenes?

  • Link to course documentation

Student notes:

TODO

exit status

  • Link to course documentation

Student notes:

TODO

test

  • Link to course documentation

Student notes:

TODO

Nested if statements

  • Link to course documentation

Student notes:

TODO

A modern version of test

  • Link to course documentation

Student notes:

TODO

[[

  • Link to course documentation

Student notes:

TODO

(( ))

  • Link to course documentation

Student notes:

TODO

&& and ||

  • Link to course documentation

Student notes:

TODO

Coding challenge - File information

  • Link to course documentation

Student notes:

TODO

Coding challenge - pipe or argument?

  • Link to course documentation

Student notes:

TODO

Loops - A variety of ways to perform repetitive tasks.

  • Link to course documentation

Student notes:

TODO

while loop

  • Link to course documentation

Student notes:

TODO

Read from a file with a while loop

  • Link to course documentation

Student notes:

TODO

Read from a pipe with a while loop

  • Link to course documentation

Student notes:

TODO

for loop

  • Link to course documentation

Student notes:

TODO

Counter loops with for

  • Link to course documentation

Student notes:

TODO

Finicky behaviour

  • Link to course documentation

Student notes:

TODO

break and continue

  • Link to course documentation

Student notes:

TODO

Coding challenge - pipe or argument plus action!

  • Link to course documentation

Student notes:

TODO

Coding challenge - Rename files

  • Link to course documentation

Student notes:

TODO

Coding challenge - Rename jpeg files

  • Link to course documentation

Student notes:

TODO

Coding challenge - Remove duplicate files

  • Link to course documentation

Student notes:

TODO

Coding challenge - File tree

  • Link to course documentation

Student notes:

TODO

Coding challenge - Compare and move

  • Link to course documentation

Student notes:

TODO

Coding challenge - Guess the number

  • Link to course documentation

Student notes:

TODO

Functions - Reuse code to make life easier.

  • Link to course documentation

Student notes:

TODO

defining a function

  • Link to course documentation

Student notes:

TODO

function arguments

  • Link to course documentation

Student notes:

TODO

global vs local variable

  • Link to course documentation

Student notes:

TODO

return values

  • Link to course documentation

Student notes:

TODO

the command builtin

  • Link to course documentation

Student notes:

TODO

Coding challenge - Student reports

  • Link to course documentation

Student notes:

TODO

User Interface - Make your scripts user friendly.

  • Link to course documentation

Student notes:

TODO

Coding challenge - Address book

  • Link to course documentation

Student notes:

TODO

Arrays in bash

  • Link to course documentation

Student notes:

TODO

Python

  • Link to course documentation

Student notes:

TODO

Vim as an IDE

  • Link to course documentation

Student notes:

TODO

bash login

  • Link to course documentation

Student notes:

TODO

which files are sources when

  • Link to course documentation

Student notes:

TODO

A clean slate

  • Link to course documentation

Student notes:

TODO

Prompt customization

  • Link to course documentation

Student notes:

TODO

Saving our changes

  • Link to course documentation

Student notes:

TODO

Decoding the base prompt

  • Link to course documentation

Student notes:

TODO

Alternative shells

  • Link to course documentation

Student notes:

TODO

zsh

  • Link to course documentation

Student notes:

TODO

fish

  • Link to course documentation

Student notes:

TODO

xonsh

  • Link to course documentation

Student notes:

TODO

Shell completion

  • Link to course documentation

Student notes:

TODO

Frameworks

  • Link to course documentation

Student notes:

TODO

oh my zsh

  • Link to course documentation

Student notes:

TODO

oh my bash

  • Link to course documentation

Student notes:

TODO

xxh

  • Link to course documentation

Student notes:

TODO