104 lines
3.0 KiB
Plaintext
104 lines
3.0 KiB
Plaintext
|
## Octobre 2014
|
||
|
|
||
|
\* Win10 EULA erlaubt Keylogging:
|
||
|
<http://thehackernews.com/2014/10/download-Windows-10-keylogger.html>
|
||
|
\* Sony verkrüppelt mal wieder Produkte:
|
||
|
<http://www.androidpolice.com/2014/10/02/unlocking-the-bootloader-on-sonys-xperia-z3-and-z3-compact-causes-poor-low-light-camera-performance-thanks-to-drm/>
|
||
|
\*
|
||
|
<http://www.heise.de/newsticker/meldung/The-Snappening-Hunderttausende-privater-Snapchat-Fotos-im-Umlauf-2415252.html>
|
||
|
\*
|
||
|
<http://www.heise.de/newsticker/meldung/Hewlett-Packard-zieht-bei-WebOS-Geraeten-den-Stecker-2427314.html>
|
||
|
\*
|
||
|
<http://www.heise.de/newsticker/meldung/Radikale-Islamisten-bekommen-eigenes-Ausweisdokument-ohne-Chip-2427815.html>
|
||
|
-- ich will auch einen ohne Chip, muss ich deshalb radikaler
|
||
|
Islamist\[tm\] werden?
|
||
|
\*
|
||
|
<http://www.heise.de/newsticker/meldung/Supercookie-US-Provider-Verizon-verkauft-Daten-ueber-seine-Kunden-2437242.html>
|
||
|
\*
|
||
|
<http://www.heise.de/newsticker/meldung/Internet-Steuer-Zehntausend-Ungarn-protestieren-gegen-Regierungsplaene-2432272.html>
|
||
|
|
||
|
Themenabend über Systemd, dem neuen Servicemanager für Linux, am
|
||
|
Donnerstag den 30. Oktober um 19:33 Uhr
|
||
|
|
||
|
### Thema
|
||
|
|
||
|
Shells: sh, dash, bash, ksh, tcsh, zsh, fish
|
||
|
|
||
|
Was ist eine Shell?
|
||
|
- GUI vs CLI
|
||
|
|
||
|
Geschichte:
|
||
|
- RUNCOM (Multics) / IBM JCL
|
||
|
- Thompson Shell -\> Redirect, Pipe -\> Bourne Shell
|
||
|
-\> C-Code durch Shellskripte ersetzt
|
||
|
<http://www.softpanorama.org/People/Shell_giants/introduction.shtml>
|
||
|
- C-Shell: History, Aliases, \~, Job Control, Path hashing
|
||
|
- Posix-Standard
|
||
|
|
||
|
Wie funktioniert eine Unixshell?
|
||
|
- parser -\> fork() -\> execvp() -\> wait()
|
||
|
- Standarteingabe, Standarausgabe, Fehlerausgabe,
|
||
|
- Pipe
|
||
|
- Redirect
|
||
|
- Umgebungsvariablen (\$PATH/\$HOME)
|
||
|
- Functions/Aliases
|
||
|
- coreutils (cp, rm, cat) vs builtins (cd, read)
|
||
|
- interaktive Shell \<-\> Skripte
|
||
|
- PROMPT
|
||
|
- shebang
|
||
|
- globs
|
||
|
- Shell history
|
||
|
- job control (Ctrl-C) fg bg
|
||
|
- Kontrollstrukturen (If, while)
|
||
|
- Mathe: \$((2+2)) let expressions
|
||
|
|
||
|
sh:
|
||
|
|
||
|
bash:
|
||
|
Standardshell unter Linux
|
||
|
Entwickelt von Brain Fox 1989
|
||
|
Seit Version 1.13 Chat Ramey Maintainer bis heute
|
||
|
angestellt von der FSF: Stallman sagte es sollte nur ein paar Monate
|
||
|
dauern
|
||
|
arrays, assziative-arrays im gegensatz zur sh
|
||
|
|
||
|
dash:
|
||
|
- Debian Shell
|
||
|
- schnell zum booten gedacht (ausfuehren von init scripten)
|
||
|
- macht Shellskripte kaputt, wenn man sie portiert
|
||
|
|
||
|
zsh:
|
||
|
- Rechtschreibkontrolle
|
||
|
- loadable modules: zftp, zcalc
|
||
|
- global aliases
|
||
|
- prompt themes
|
||
|
- shell history zwischen shell sharen
|
||
|
- oh-my-zsh
|
||
|
- grml
|
||
|
- zshuery
|
||
|
|
||
|
fish:
|
||
|
- Autovervollständigung (vom Ordner abhängig)
|
||
|
- Syntaxhighlighting (rot, falls kein gültiger Befehl -\> grün)
|
||
|
- modernere Shell-Syntax \<-\> Posix-Kompatibiltät
|
||
|
- Auch ohne lange Konfiguration schon gut benutzbar (ver
|
||
|
- fishd: verteilt globale Variablen an alle Shells
|
||
|
- baut Vervollständigung von Commandlineswitchen aus der manpage
|
||
|
zusammen
|
||
|
- C++
|
||
|
- substring search (Ctrl-p)
|
||
|
|
||
|
Ausblick:
|
||
|
Powershell:
|
||
|
- Module
|
||
|
- Remote Code ausführen
|
||
|
- Pipeline -\> Objekte statt Text, exception handling
|
||
|
- Code signing
|
||
|
- Events
|
||
|
- IDE
|
||
|
- Debugger
|
||
|
-
|
||
|
- definitv interessant, da gerade der arme Verwandte, der bei WIndows
|
||
|
immer helfen muss, damit vieles erreichen kann
|
||
|
|