commit
357e0398ce
16 changed files with 328 additions and 0 deletions
-
1.gitignore
-
19LICENSE
-
3README.md
-
3linux/.mermaid.css
-
37linux/TODO.md
-
BINlinux/images/diagram-1.png
-
4linux/images/diagram-1.svg
-
BINlinux/images/diagram-2.png
-
BINlinux/images/filesystem_1.png
-
BINlinux/images/linus-torvalds.jpg
-
BINlinux/images/linus-torvalds2.jpg
-
34linux/linux-ch-variables.yml
-
14linux/linux-ch.md
-
168linux/linux-slides.md
-
45linux/makefile
-
0linux/mermaid-filter.err
@ -0,0 +1 @@ |
|||
linux/build/ |
@ -0,0 +1,19 @@ |
|||
MIT License Copyright (c) <year> <copyright holders> |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining a copy |
|||
of this software and associated documentation files (the "Software"), to deal |
|||
in the Software without restriction, including without limitation the rights |
|||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|||
copies of the Software, and to permit persons to whom the Software is furnished |
|||
to do so, subject to the following conditions: |
|||
|
|||
The above copyright notice and this permission notice (including the next |
|||
paragraph) shall be included in all copies or substantial portions of the |
|||
Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
|||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS |
|||
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF |
|||
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@ -0,0 +1,3 @@ |
|||
# slides |
|||
|
|||
My Slides about everything. |
@ -0,0 +1,3 @@ |
|||
#container > svg { |
|||
max-width: 100% !important; |
|||
} |
@ -0,0 +1,37 @@ |
|||
--- |
|||
title: "TODO Liste für Linux Präsentationen" |
|||
author: Dustin Hutto |
|||
aspectratio: 169 |
|||
theme: metropolis |
|||
themeoptions: |
|||
- background=dark |
|||
- progressbar=frametitle |
|||
--- |
|||
|
|||
# Algemein |
|||
- Trennen der Themen in zweite Präsentation für Einsteiger und Fortgeschrittene |
|||
- Handout mit Befehlen, Shortcuts und nützlichen Befehlen (max. DIN A4) |
|||
- Lizenzen und Linux (nur weil es OpenSource ist ist es noch lange nicht kostenlos) |
|||
- |
|||
|
|||
# Themen |
|||
## Die kleinen Helfer im Altag |
|||
- der wichtigste Helfer = TAB |
|||
- dt |
|||
- du |
|||
- tar |
|||
- pwd |
|||
|
|||
## Die eigene Arbeitsumgebung anpassen |
|||
- .bashrc |
|||
- Aliase |
|||
- Funktionen schreiben (???) |
|||
- PROMT |
|||
- Farben |
|||
|
|||
# Themen |
|||
## Tastenkürzel |
|||
- CTRL + c |
|||
- CTRL + l |
|||
- STRG + ALT + 1-7 |
|||
- TAB |
After Width: 57 | Height: 142 | Size: 1.3 KiB |
4
linux/images/diagram-1.svg
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
After Width: 84 | Height: 43 | Size: 1.1 KiB |
After Width: 1913 | Height: 809 | Size: 140 KiB |
After Width: 240 | Height: 334 | Size: 13 KiB |
After Width: 442 | Height: 293 | Size: 27 KiB |
@ -0,0 +1,34 @@ |
|||
--- |
|||
# these are not shown in the document, they are just for metadata |
|||
title: Awesome Topic Cheat Sheet |
|||
author: Jane Doe |
|||
lang: en |
|||
keywords: |
|||
- awesome |
|||
- kick-ass |
|||
- topic |
|||
- cheat sheet |
|||
|
|||
# highlighting increases readability |
|||
linkcolor: blue |
|||
|
|||
# these LaTeX variables fit as much content on as few pages as possible |
|||
documentclass: scrartcl |
|||
pagestyle: empty |
|||
papersize: a4paper |
|||
geometry: |
|||
- a4paper |
|||
- left=1cm |
|||
- right=1cm |
|||
- top=1cm |
|||
- bottom=1cm |
|||
- landscape |
|||
# you can also add "landscape" to geometry if you want more than 2 columns |
|||
|
|||
# fiddle with these to increase readability |
|||
columns: 5 |
|||
fontsize: 9pt |
|||
|
|||
# this essentially disables justification, which can increase readability |
|||
ragged: yes |
|||
... |
@ -0,0 +1,14 @@ |
|||
# cheat sheet about topic test ich bin gespannt wie lang der text sein kann bis eine neue Zeile beginnt |
|||
## Dateioperationen test2 |
|||
## Test |
|||
## Test |
|||
## Test |
|||
## Test |
|||
## Test |
|||
## Test test |
|||
## Dateisystem |
|||
## Dateisystem |
|||
## Dateisystem |
|||
## Dateisystem |
|||
|
|||
|
@ -0,0 +1,168 @@ |
|||
--- |
|||
title: "Linux Präsentation" |
|||
author: Dustin Hutto |
|||
date: |
|||
aspectratio: 169 |
|||
theme: metropolis |
|||
themeoptions: |
|||
- background=dark |
|||
- progressbar=frametitle |
|||
--- |
|||
|
|||
# Geschichte |
|||
\centering |
|||
Wer hasts gemacht? |
|||
|
|||
. . . |
|||
|
|||
\includegraphics[width=\textwidth,height=0.6\textheight,keepaspectratio]{images/linus-torvalds2.jpg} |
|||
\footnotesize Linus Torvalds |
|||
|
|||
::: notes |
|||
::: |
|||
|
|||
# Geschichte |
|||
## Entwicklung |
|||
|
|||
. . . |
|||
|
|||
- Ohne Unix und BSD kein Linux |
|||
|
|||
. . . |
|||
|
|||
- 1991 die Entwicklung von Linux beginnt |
|||
- nutzt bis auf wenige Ausnahmen die Prinzipien von Unix |
|||
- enthält dabei aber keinen Unix-Code |
|||
|
|||
. . . |
|||
|
|||
- Linux wurde/wird nicht von einer Firma entwickelt sondern von einer *"Community"* |
|||
|
|||
. . . |
|||
|
|||
- es ist frei verfügbar und kann so von jedem \alert{ohne} Einschränkungen benutzt werden |
|||
|
|||
::: notes |
|||
- V 0.01 - August 1991 |
|||
- V 0.02 - 5. Oktober 1991 -> erste veröffentlichte Version |
|||
- richtete sich in erster Linie an Hacker und Programmierer |
|||
- Unterstützt wurden |
|||
- Bash |
|||
- gcc |
|||
- GNU make |
|||
- GNU sed |
|||
- compress |
|||
- V 0.95 - März 1992 |
|||
- der Weg zur ersten "stabielen" Version |
|||
- V 1.00 - März 1994 |
|||
|
|||
::: |
|||
|
|||
# Distribution |
|||
|
|||
. . . |
|||
|
|||
- ist ein Packet aus \alert{"Kernel"} und einer Auswahl an \alert{"Software"} die von einer Firma oder einer Community gepflegt wird |
|||
|
|||
. . . |
|||
|
|||
- Ziel ist es \alert{"Kernel"} und \alert{"Software"} für den jeweiligen Einsatzzweck aufeinander abzustimmen |
|||
|
|||
. . . |
|||
|
|||
- Distributionen lassen sich klassifizieren (Distributions-Familie) |
|||
- z.B. über die Art wie Packete vorliegen und installiert werden |
|||
- .deb, .rpm, tar.gz, tar, .pkg, iPKG, Flatpak, Snappy |
|||
|
|||
::: notes |
|||
- da Lunix für jeden frei verfügbar ist können auch Firmen es benutzen und damit sogar Geld verdienen |
|||
- Canonical (Ubuntu), Red Hat, Suse Enterprise Linux |
|||
- Spezialisierung auf Desktop, Server, Router etc. |
|||
- einfache Bedienung und Nutzerfreundlichkeit |
|||
- Resourcenschonend und effizient für bestimmte Anwendungsfälle |
|||
- Distributionsfamielen |
|||
- .deb - Debian, Ubuntu, Mint |
|||
- .rpm - Red Hat, Fedora, Mandriva |
|||
- tar.gz - Slackware |
|||
- tar - archlinux |
|||
- .pkg - macOS |
|||
- iPKG - OpenWRT |
|||
- Flatpak und Snappy - neu Packetformate die alle Abhängigkeiten beinhalten um auf nahezu allen Linux Distributionen zu laufen |
|||
::: |
|||
|
|||
# Repository |
|||
## Anlaufstelle für die Software einer Distribution |
|||
|
|||
- zentral verwaltet und gepflegt |
|||
- weniger Fehler bei der Installation/Deinstallation |
|||
- erreichbar aus dem: (je nach Konfiguration) |
|||
- Internet, Intranet, aber auch lokal |
|||
- Auflösung von Abhängigkeiten und deren automatische Installation |
|||
|
|||
# Benutzeroberflächen |
|||
## Desktop-Umbegung |
|||
- wurden erst relativ spät entwickelt |
|||
- große Auswahl um jeden Geschmack zu treffen |
|||
- und wem es trotzdem nicht gefällt kann jeden von ihnen Anpassen |
|||
|
|||
::: notes |
|||
- Focus lag auf wichtigeren Dingen |
|||
- beliebte Desktop-Umbegungen |
|||
- GNOME, KDE, LXDE, XFCE, Unity, Cinnamon |
|||
- weniger bekannte Desktop-Umbegungen |
|||
- i3, bspwm, qtile, sway, |
|||
::: |
|||
|
|||
# Benutzeroberflächen |
|||
\centering |
|||
Das Terminal |
|||
|
|||
Bild "Keine Angst vor der Komandozeile" Bild |
|||
|
|||
- aufgrund der Entwicklung von Linux werden die meisten Programme auch heute noch zuerst für die Komandozeile entwickelt bevor sie eine grafische Oberfläche bekommen |
|||
|
|||
::: notes |
|||
- Komandozeilenumgebung |
|||
- tty, terminal, konsole |
|||
::: |
|||
|
|||
# Dateisystem Hierarchie |
|||
\centering |
|||
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{images/filesystem_1.png} |
|||
|
|||
::: notes |
|||
- /etc "et cetera" "Everything to configure" |
|||
- /lib kernel treiber (Video, Audio, etc.) |
|||
|
|||
::: |
|||
|
|||
# Die wichtigsten Tools |
|||
## anzeigen von Dateiinhalten |
|||
- cat, more, less, head, tail |
|||
|
|||
## kopieren, verschieben, anlegen und löschen |
|||
|
|||
- cp, scp, mv, touch, \alert{rm} |
|||
|
|||
## anlegen von Verzeichnissen |
|||
- mkdir |
|||
|
|||
## anpassen von Berechtigungen |
|||
- chmod, chown |
|||
|
|||
## filtern und manipulieren von Daten |
|||
- grep, \alert{awk}, \alert{sed} |
|||
|
|||
# Hilfe ohne Internet |
|||
- Manpages |
|||
- \alert{man} [option] [command] |
|||
- HELP |
|||
- [command] \alert{-h} |
|||
- [command] \alert{- -help} |
|||
|
|||
# Hilfe mit Internet |
|||
- Suchmaschiene |
|||
- stackoverflow.com |
|||
- stackexchange.com |
|||
- _reddit.com_ |
|||
|
@ -0,0 +1,45 @@ |
|||
ALLMD = $(wildcard *.md) |
|||
SLIDES = $(wildcard *-slides.md) |
|||
# TODO = $(%/TODO.md)
|
|||
CHSH = $(wildcard *-ch.md) |
|||
# SLIDES = $(wildcard *-slides.md)
|
|||
NOTODO = $(filter-out TODO.md, $(SLIDES)) |
|||
# CHSH = $(wildcard *-chsh.md)
|
|||
PDFSLIDES := $(SLIDES:%.md=%.pdf) |
|||
PDFNOTES := $(NOTODO:%.md=%-notes.pdf) |
|||
PDFCHSH := $(CHSH:%.md=%sh.pdf) |
|||
|
|||
BUILDDIR = build/ |
|||
DEP = $(wildcard templates/*.sty latex_input*.tex images/*.jpg images/*.png) |
|||
TARGETS = $(addprefix $(BUILDDIR),$(PDFSLIDES) $(PDFNOTES) $(PDFCHSH)) |
|||
|
|||
# Change LaTeX engine
|
|||
PARAMETERS = --pdf-engine=pdflatex |
|||
|
|||
BEAMERPARAMETERS = -t beamer |
|||
# PARAMETERS += -F mermaid-filter
|
|||
|
|||
CHSHPARAMETERS = --pdf-engine=xelatex |
|||
CHSHPARAMETERS += --standalone |
|||
CHSHPARAMETERS += --template cheat-sheet.tex |
|||
CHSHPARAMETERS += --from=markdown+yaml_metadata_block |
|||
# CHSHPARAMETERS += -o $(CHSH:%.yml)
|
|||
|
|||
CLASSOPTION += -V classoption=notes |
|||
|
|||
all: $(TARGETS) |
|||
|
|||
$(BUILDDIR)%.pdf : %.md $(DEP) |
|||
@mkdir -p $(BUILDDIR) # Make sure build dir exists |
|||
pandoc $(PARAMETERS) $(BEAMERPARAMETERS) $< -o $@ |
|||
|
|||
$(BUILDDIR)%-notes.pdf : %.md $(DEP) |
|||
@mkdir -p $(BUILDDIR) # Make sure build dir exists |
|||
pandoc $(PARAMETERS) $(BEAMERPARAMETERS) $(CLASSOPTION) $< -o $@ |
|||
|
|||
$(BUILDDIR)%sh.pdf : %.md |
|||
@mkdir -p $(BUILDDIR) # Make sure build dir exists |
|||
pandoc $(CHSHPARAMETERS) -o $@ $*-variables.yml $< |
|||
|
|||
clean: |
|||
@rm -f $(TARGETS) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue