Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • 2023ws
  • 2024ws
2 results

Target

Select target project
No results found
Select Git revision
  • 2023ws
  • 2024ws
2 results
Show changes
397 files
+ 19462
13
Compare changes
  • Side-by-side
  • Inline

Files

20241009/boese.txt

0 → 100644
+1 −0
Original line number Diff line number Diff line
Böse Dinge! B-)

20241009/cat-01.txt

0 → 100644
+29 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> cat hello.c
#include <stdio.h>

int main (void)
{
  printf ("Hello, world!\n");
  return 0;
}
cassini/home/peter/bo/2024ws/dbs/20241009> cat hello.c boese.txt
#include <stdio.h>

int main (void)
{
  printf ("Hello, world!\n");
  return 0;
}
Böse Dinge! B-)
cassini/home/peter/bo/2024ws/dbs/20241009> cat hello.c boese.txt ls
#include <stdio.h>

int main (void)
{
  printf ("Hello, world!\n");
  return 0;
}
Böse Dinge! B-)
echo "Böse Dinge! B-)" > boese.txt
/usr/bin/ls "$@"
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/cat-02.txt

0 → 100644
+6 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> cat hello
@@@@�]]   ���-�=�=HP�-�=�=�888 XXXDDS�td888 P�td   ,,Q�tdR�td�-�=�=00/lib64/ld-linux-x86-64.so.2GNU��GNU�?j�+�Ӟ      Iϳ]k��K��:GNU��e�mH d s "puts__libc_start_main__cxa_finalizelibc.so.6GLIBC_2.2.5GLIBC_2.34_ITM_deregisterTMCloneTable__gmon_start___ITM_registerTMCloneTable'ui  1���=�0��@�?�?�?�?�?@H�H��/H��t��H���5�/�%�/@�%�/h������%�/f�1�I��^H��H���PTE1�1�H�=��O/�f.�@H�=�/H��/H9�tH�./H��t    �����H�=a/H�5Z/H)�H��H��?H��H�H��tH��.H����fD����=/u+UH�=�.H��tH�=�.�)����d�����.]������w���H�H�=�ýýýýýýHýýHýHýýH␊┌┌⎺, ┬⎺⎼┌␍!;(ýýý├,ýýýý<ýýýD%ýýýý≥Rýýýýý"≥Rý$ýýýý FJ
Týýýýý⎺ý⎻ýD���\i���D0ý'
ý
 ý?ý    ýýýýýý⎺ýýý⎺ýýý⎺ýýýý⎺ý=6@GCC: (D␊␉␋▒┼ 12.2.0-14) 12.2.0ýý        ≠ ýý� �3�I@U�=|0��=������� ����=� ��?� H@(9@@T@S b@o ~ @LP"�@�9�@� �"�Scrt1.o__abi_tagcrtstuff.cderegister_tm_clones__do_global_dtors_auxcompleted.0__do_global_dtors_aux_fini_array_entryframe_dummy__frame_dummy_init_array_entryhello.c__FRAME_END___DYNAMIC__GNU_EH_FRAME_HDR_GLOBAL_OFFSET_TABLE___libc_start_main@GLIBC_2.34_ITM_deregisterTMCloneTableputs@GLIBC_2.2.5_edata_fini__data_start__gmon_start____dso_handle_IO_stdin_used_end__bss_startmain__TMC_END___ITM_registerTMCloneTable__cxa_finalize@GLIBC_2.2.5_init.symtab.strtab.shstrtab.interp.note.gnu.property.note.gnu.build-id.note.ABI-tag.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.got.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.dynamic.got.plt.data.bss.comment#886XX$I|| W���o��a
                     ��ipp�q���o��·ýýý⎺ý@@ýýý   ýPPýTT  ý  ý  ,ý@ @ ýýý���=�-��?���@0080`   �3�s5cassini/home/peter/bo/2024ws/dbs/20241009>
+22 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l
insgesamt 0
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> echo "Dies ist ein Test." > test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l
insgesamt 4
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> cp test-01.txt test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> rm test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> cp test-01.txt test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:22 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> cat test-01.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> cat test-02.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241009/tmp>
+214 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l
insgesamt 0
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> echo "Dies ist ein Test." > test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l
insgesamt 4
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> cp test-01.txt test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> rm test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> cp test-01.txt test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:22 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> cat test-01.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> cat test-02.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241009/tmp>
cassini/home/peter/bo/2024ws/dbs/20241009/tmp>
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:22 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l --full-time
insgesamt 8
-rw-r--r-- 1 peter peter 19 2024-10-09 13:21:14.832318110 +0200 test-01.txt
-rw-r--r-- 1 peter peter 19 2024-10-09 13:22:01.984456248 +0200 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls --help
Aufruf: ls [OPTION]... [DATEI]...
Auflistung von Informationen über die DATEIen (Vorgabe ist das aktuelle
Verzeichnis). Alphabetisches Sortieren der Einträge, falls weder -cftuvSUX noch
--sort angegeben wurden.

Erforderliche Argumente für lange Optionen sind auch für kurze erforderlich.
  -a, --all                  Einträge, die mit . beginnen, nicht verstecken
  -A, --almost-all           implizierte . und .. nicht anzeigen
      --author               mit -l, den Urheber jeder Datei ausgeben
  -b, --escape               nicht‐druckbare Zeichen im C-Stil ausgeben
      --block-size=GRÖẞE     mit -l werden Größenangaben bei der Ausgabe mit
                             GRÖẞE skaliert; Beispiel „--block-size=M“;
                             siehe GRÖẞE-Format weiter unten

  -B, --ignore-backups       implizite Einträge, die mit ~ beginnen,
                               nicht auflisten
  -c                         mit -lt: Sortieren nach und Anzeige von ctime
                               (Zeit der letzten Veränderung der Datei‐Status‐
                               informationen); mit -l: ctime anzeigen, neueste
                               zuerst

  -C                         Einträge mehrspaltig ausgeben
      --color[=WANN]         Steuerung, wann Farbe zum Unterscheiden der
                             Dateitypen eingesetzt wird; mehr dazu weiter
                             unten
  -d, --directory            Verzeichnis‐Einträge statt der Inhalte anzeigen
  -D, --dired                Ausgabe für den „dired“‐Modus im Emacs formatieren
  -f                         alle Einträge in Verzeichnisreihenfolge
                               auflisten
  -F, --classify[=WANN]      Indikator (einer von */=>@|) an Einträge WANN
                               anhängen
      --file-type            genauso, nur ohne angehängtes „*“
      --format=WORT          across -x, commas -m, horizontal -x, long -l,
                             single-column -1, verbose -l, vertical -C

      --full-time            wie -l --time-style=full-iso
  -g                         wie -l, aber Eigentümer nicht auflisten
      --group-directories-first
                             Verzeichnisse vor den Dateien gruppieren;
                             kann zusammen mit der Option --sort benutzt
                             werden, doch --sort=none (-U) schaltet
                             Gruppierung ab

  -G, --no-group             in detaillierter Ausgabe (-l) keine Gruppennamen
                             anzeigen
  -h, --human-readable       in detaillierter Ausgabe (-l) Größenangaben in
                             menschenlesbarem Format ausgeben (z. B. 1K,
                             234M, 2G)
      --si                   genauso, aber mit 1000 statt 1024 als Teiler
  -H, --dereference-command-line
                             den in der Befehlszeile angegebenen
                               symbolischen Links folgen
      --dereference-command-line-symlink-to-dir
                             jedem in der Befehlszeile angegebenen symbolischen
                               Link folgen, der auf ein Verzeichnis zeigt

      --hide=MUSTER          implizite Einträge, die auf das Shell-MUSTER
                               passen, nicht anzeigen (wird durch -a oder -A
                               außer Kraft gesetzt)

      --hyperlink[=WANN]     Dateinamen als Hyperlinks WANN
      --indicator-style=WORT
                             Indikator des Stils WORT an Namen der Einträge
                             anhängen: „none“ (Standardvorgabe), „slash“ (-p)
                             „file-type“ (--file-type), „classify“ (-F)

  -i, --inode                die Index‐Nummer jeder Datei ausgeben
  -I, --ignore=MUSTER        implizierte Einträge, auf die Shell‐MUSTER
                             passt, nicht auflisten
  -k, --kibibytes            Dateisystemplatzverbrauch in Einheiten von 1024
                               Bytes angeben; nur relevant in Kombination mit
                               -s und Gesamtangaben für Verzeichnisse

  -l                         langes Listenformat (detaillierte Ausgabe)
  -L, --dereference          bei symbolischen Verknüpfungen die Eigenschaften
                             der jeweiligen Zieldatei anzeigen

  -m                         mit einer durch Kommata getrennten Eintragsliste
                               füllen
  -n, --numeric-uid-gid      wie -l, aber numerische UIDs und GIDs anzeigen
  -N, --literal              rohe Eintragsnamen anzeigen (z. B. Steuer‐
                             zeichen nicht besonders behandeln)
  -o                         wie -l, aber ohne Gruppen‐Informationen
  -p, --indicator-style=slash
                             an Verzeichnisse ein „/“ anhängen
  -q, --hide-control-chars   „?“ statt nicht darstellbarer Zeichen ausgeben
      --show-control-chars   nicht darstellbare Zeichen anzeigen, wie sie
                               sind (Standardvorgabe, außer wenn das
                               Programm „ls“ ist und die Ausgabe auf ein
                               Terminal geht)

  -Q, --quote-name           Eintragsnamen in doppelte Anführungs-
                               zeichen einschließen
      --quoting-style=WORT   Anführungszeichen‐Stil WORT benutzen:
                               literal, locale, shell, shell-always,
                               shell-escape, shell-escape-always, c, escape
                               (setzt die Umgebungsvariable QUOTING_STYLE
                               außer Kraft)
  -r, --reverse              umgekehrte Reihenfolge beim Sortieren
  -R, --recursive            Unterverzeichnisse rekursiv ausgeben
  -s, --size                 Speicherverbrauch jeder Datei in Blöcken ausgeben
  -S                         nach Dateigröße sortieren, größte zuerst
      --sort=WORT            nach WORT anstatt nach Name sortieren:
                               none (-U), size (-S), time (-t),
                               version (-v), extension (-X), width
      --time=WORT            andere als die Änderungszeit verwenden:
                               Zugriffszeit (-u): atime, access, use;
                               Metadatenzeit (-c): ctime, status;
                               Erstellungszeit: birth, creation;
                               mit -l: Zeit ausgeben
                               mit -sort=time: nach dieser Zeit sortieren

      --time-style=ZEITFORMAT
                             Format für Zeit/Datum mit -l; siehe ZEITFORMAT
                             weiter unten
  -t                         nach Zeit sortieren, neueste zuerst;
                             siehe --time
  -T, --tabsize=SPALTEN      Tabstopps statt alle 8 alle SPALTEN Zeichen
                             annehmen
  -u                         mit -lt: Zugriffszeit anzeigen und danach
                               sortieren; mit -l: Zugriffszeit anzeigen und
                               nach Namen sortieren; sonst: nach Zugriffszeit

  -U                         nicht sortieren; Einträge in Reihenfolge des
                               Verzeichnisses auflisten
  -v                         Zahlen und Versionsnummern nach natürlicher
                               Reihenfolge sortieren
  -w, --width=SPALTEN        Bildschirmbreite auf SPALTEN setzen, 0 bedeutet
                               keine Begrenzung
  -x                         Einträge in Zeilen statt in Spalten auflisten
  -X                         alphabetisch nach der Erweiterung sortieren
  -Z, --context              SELinux-Sicherheitskontext jeder Datei anzeigen
  -z, --zero                 Ausgabezeilen mit Nullbyte statt mit Zeilenvorschub
                               beenden
  -1                         eine Datei pro Zeile auflisten.
      --help        diese Hilfe anzeigen und beenden
      --version     Versionsinformation anzeigen und beenden

GRÖẞE ist eine Ganzzahl und optional eine Einheit (Beispiel: 10M sind
10*1024*1024). Einheiten sind K, M, G, T, P, E, Z, Y (Potenzen von 1024) oder
KB, MB, … (Potenzen von 1000).
Binäre Präfixe können auch verwendet werden: KiB=K, MiB=M usw.

Das Argument ZEITSTIL kann „full-iso“, „long-iso“, „iso“, „locale“ oder +FORMAT
sein. FORMAT wird wie in date(1) interpretiert. Wenn FORMAT zweizeilig angegeben
ist, also FORMAT1<Zeilenumbruch>FORMAT2, wird FORMAT1 für ältere Dateien und FORMAT2 für neuere Dateien (bis 6 Monate) verwendet.
Wenn TIME_STYLE ein vorangestelltes „posix-“ enthält, wirkt es nur außerhalb der
Region namens POSIX.
Die Voreinstellung für den Stil wird durch die Umgebungsvariable TIME_STYLE
bestimmt.

Die Vorgabe für das Argument WANN ist „always“, es kann aber auch auf
„auto“ oder „never“ gesetzt werden.

Die Verwendung von Farben um Dateitypen zu unterscheiden ist normalerweise
oder bei Angabe von --color=never unterbunden. Bei --color=auto werden nur
dann Farben verwendet, wenn die Standardausgabe mit einem Terminal verbunden
ist. Die Umgebungsvariable LS_COLORS kann die Einstellungen verändern.
Verwenden Sie den Befehl dircolors(1), um sie zu setzen.

Rückgabewert:
 0  wenn alles in Ordnung,
 1  bei kleineren Problemen (z. B. kein Zugriff auf Unterverzeichnis),
 2  bei großem Ärger (z. B. kein Zugriff auf Kommandozeilenargument).

Onlinehilfe für GNU coreutils: <https://www.gnu.org/software/coreutils/>
Melden Sie Übersetzungsfehler für %s an <translation-team-de@lists.sourceforge.net>
Die vollständige Dokumentation ist hier: <https://www.gnu.org/software/coreutils/ls>
oder auch lokal mittels „info '(coreutils) ls invocation'“
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l --full-time --time=atime
insgesamt 8
-rw-r--r-- 1 peter peter 19 2024-10-09 13:21:27.736352673 +0200 test-01.txt
-rw-r--r-- 1 peter peter 19 2024-10-09 13:22:37.640581405 +0200 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l --full-time --time=birth
insgesamt 8
-rw-r--r-- 1 peter peter 19 2024-10-09 13:21:14.832318110 +0200 test-01.txt
-rw-r--r-- 1 peter peter 19 2024-10-09 13:22:01.984456248 +0200 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -l --full-time
insgesamt 8
-rw-r--r-- 1 peter peter 19 2024-10-09 13:21:14.832318110 +0200 test-01.txt
-rw-r--r-- 1 peter peter 19 2024-10-09 13:22:01.984456248 +0200 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp>
+18 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -lrt
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:22 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> cp -p test-01.txt test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -lrt
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -lrt --time=atime
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -lrt --time=birth
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:22 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp>
+15 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> cp -a tmp tmp1
cassini/home/peter/bo/2024ws/dbs/20241009> ls -l tmp1
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  7. Dez 1999  test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009> mkdir tmp2
cassini/home/peter/bo/2024ws/dbs/20241009> cd tmp2/
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> cp -p ../tmp1/*
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls -l
insgesamt 0
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls -l ../tmp1/
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2>
+15 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> cp -p ../tmp1/*
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls -l
insgesamt 0
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> cp -p ../tmp1/* .
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> echo cp -p ../tmp1/*
cp -p ../tmp1/test-01.txt ../tmp1/test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> cp -p -i ../tmp1/*
cp: '../tmp1/test-02.txt' überschreiben? n
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> cp -pi ../tmp1/*
cp: '../tmp1/test-02.txt' überschreiben? n
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2>
+6 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls *.txt
test-01.txt  test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> rm *.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls -l
insgesamt 0
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2>
+19 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> cp -pi ../tmp1/* .
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> echo cp -pi ../tmp1/* .
cp -pi ../tmp1/test-01.txt ../tmp1/test-02.txt .
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> mv test-02.txt test-02
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls *.*
test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls *
test-01.txt  test-02
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2> ls *.
ls: Zugriff auf '*.' nicht möglich: Datei oder Verzeichnis nicht gefunden
cassini/home/peter/bo/2024ws/dbs/20241009/tmp2>
+8 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> mkdir tmp3
cassini/home/peter/bo/2024ws/dbs/20241009> cd tmp3/
cassini/home/peter/bo/2024ws/dbs/20241009/tmp3> cp -pi ../tmp1/* .
cassini/home/peter/bo/2024ws/dbs/20241009/tmp3> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp3>
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
% Attribution-ShareAlike 3.0 Unported License along with this
% document.  If not, see <http://creativecommons.org/licenses/>.

% README: Unix-Kommandozeile: Dateiverwaltung, …
% README: Unix-Kommandozeile: Dateiverwaltung

\documentclass[10pt,t]{beamer}

@@ -446,8 +446,11 @@
      \end{itemize}
    \item[\textbf{2}] \textbf{Kurzeinführung Unix}
      \begin{itemize}
        \item[2.1] \color{red}Grundkonzepte
        \color{medgreen}
        \item[2.1] Grundkonzepte
        \color{orange}
        \item[2.2] Die Kommandozeile: Grundlagen
        \color{red}
        \item[2.3] Dateisysteme
        \item[2.4] Ein- und Ausgabeströme
        \item[2.5] Pipes
@@ -902,6 +905,8 @@

\end{frame}

\iffalse

\begin{frame}[fragile]

  \showsubsection
@@ -1249,8 +1254,6 @@

\end{frame}

\iffalse

\fi

\end{document}
Original line number Diff line number Diff line
% dbs-uebung-20231005.pdf - Exercises on Databases and Information Security
% dbs-uebung-20241009.pdf - Exercises on Databases and Information Security
% Copyright (C) 2024  Peter Gerwinski
%
% This document is free software: you can redistribute it and/or
@@ -56,7 +56,7 @@

  \exercise{Tabellen bearbeiten}

  Die Datei \gitfile{dbs}{2024ws/20241008}{cd-sammlung.txt}
  Die Datei \gitfile{dbs}{2024ws/20241009}{cd-sammlung.txt}
  enthält die folgende Tabelle in Textform:
  \begin{lstlisting}[style=terminal,basicstyle=\footnotesize\ttfamily\color{darkgreen}]
    CD_ID  Albumtitel          Interpret   Gründungsjahr  Erscheinungsjahr  Track  Titel
@@ -67,7 +67,7 @@
    4713   Freak of Nature     Anastacia   1999           2001              1      Paid my Dues 
  \end{lstlisting}

  Die Datei \gitfile{dbs}{2024ws/20241008}{cd-sammlung.csv}
  Die Datei \gitfile{dbs}{2024ws/20241009}{cd-sammlung.csv}
  enthält dieselbe Tabelle als CSV-Datei,
  wie man sie z.\,B.\ auch mit Tabellenkalkulationsprogrammen bearbeiten kann:
  \begin{lstlisting}[style=terminal,basicstyle=\footnotesize\ttfamily\color{darkgreen}]
@@ -79,8 +79,8 @@
    4713;"Freak of Nature";"Anastacia";1999;2001;1;"Paid my Dues"
  \end{lstlisting}

  Extrahieren Sie aus (a) \gitfile{dbs}{2024ws/20241008}{cd-sammlung.txt}
  und aus (b) \gitfile{dbs}{2024ws/20241008}{cd-sammlung.csv}
  Extrahieren Sie aus (a) \gitfile{dbs}{2024ws/20241009}{cd-sammlung.txt}
  und aus (b) \gitfile{dbs}{2024ws/20241009}{cd-sammlung.csv}
  jeweils die dritte Spalte ("`Interpret"').
  Bei (b) darf das Ergebnis die Anführungszeichen noch enthalten.

@@ -94,6 +94,12 @@
      \lstinline[style=cmd]{man cut}
  \end{itemize}

  Zusatzaufgabe (für alle, die sich noch an \emph{Rechnertechnik} erinnern\,;--):
  \begin{itemize}
    \item[(c)]
      Wieso funktioniert die Lösung von (a) nicht für die fünfte Spalte?
  \end{itemize}

  \begin{flushright}
    \textit{Viel Erfolg!}
  \end{flushright}

20241009/hello.c

0 → 100644
+7 −0
Original line number Diff line number Diff line
#include <stdio.h>

int main (void)
{
  printf ("Hello, world!\n");
  return 0;
}

20241009/ls

0 → 100755
+2 −0
Original line number Diff line number Diff line
echo "Böse Dinge! B-)" > boese.txt
/usr/bin/ls "$@"

20241009/path-01.txt

0 → 100644
+14 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> echo "$PATH"
/home/peter/usr/bin:/home/peter/usr/bin:/home/peter/usr/bin:/home/peter/usr/bin:/home/peter/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
cassini/home/peter/bo/2024ws/dbs/20241009> echo "$PATH" | sed -e 's/:/\n/g'
/home/peter/usr/bin
/home/peter/usr/bin
/home/peter/usr/bin
/home/peter/usr/bin
/home/peter/.cargo/bin
/usr/local/bin
/usr/bin
/bin
/usr/local/games
/usr/games
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/path-02.txt

0 → 100644
+15 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> cat hello.c
#include <stdio.h>

int main (void)
{
  printf ("Hello, world!\n");
  return 0;
}
cassini/home/peter/bo/2024ws/dbs/20241009> hello
bash: hello: Kommando nicht gefunden.
cassini/home/peter/bo/2024ws/dbs/20241009> /home/peter/bo/2024ws/dbs/20241009/hello
Hello, world!
cassini/home/peter/bo/2024ws/dbs/20241009> ./hello
Hello, world!
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/path-03.txt

0 → 100644
+6 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> PATH=".:$PATH"
cassini/home/peter/bo/2024ws/dbs/20241009> echo "$PATH"
.:/home/peter/usr/bin:/home/peter/usr/bin:/home/peter/usr/bin:/home/peter/usr/bin:/home/peter/usr/bin:/home/peter/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
cassini/home/peter/bo/2024ws/dbs/20241009> hello
Hello, world!
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/path-04.txt

0 → 100644
+51 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> cat >> ls
echo "Böse Dinge! B-)" > boese.txt
/usr/bin/ls "$@"
cassini/home/peter/bo/2024ws/dbs/20241009> chmod +x ls
cassini/home/peter/bo/2024ws/dbs/20241009> ls -l
insgesamt 5536
-rw-r--r-- 1 peter peter   46771  5. Okt 2013   A_Day_in_the_Life_of_a_Wartime_Housewife-_Everyday_Life_in_London,_England,_1941_D2379.jpg
-rw-r--r-- 1 peter peter      17  9. Okt 12:55  boese.txt
-rw-r--r-- 1 peter peter     414  7. Okt 18:35  cd-sammlung.csv
-rw-r--r-- 1 peter peter     568  7. Okt 18:33  cd-sammlung.txt
lrwxrwxrwx 1 peter peter     106  4. Okt 2023   computer-arbeitsplaetze.jpg -> Computergebouw_van_KLM_voor_automatische_boekingsmethode_Corda_in_Amstelveen._,_Bestanddeelnr_923-3365.jpg
-rw-r--r-- 1 peter peter   91769  4. Okt 2023   computer-arbeitsplaetze-lores.jpg
-rw-r--r-- 1 peter peter  973900  7. Mär 2018   Computergebouw_van_KLM_voor_automatische_boekingsmethode_Corda_in_Amstelveen._,_Bestanddeelnr_923-3365.jpg
lrwxrwxrwx 1 peter peter      90  4. Okt 2023   dbms-ohne-computer.jpg -> A_Day_in_the_Life_of_a_Wartime_Housewife-_Everyday_Life_in_London,_England,_1941_D2379.jpg
-rw-r--r-- 1 peter peter    9598  9. Okt 12:43  dbs-20241009.aux
-rw-r--r-- 1 peter peter   56707  9. Okt 12:43  dbs-20241009.log
-rw-r--r-- 1 peter peter    5824  9. Okt 12:43  dbs-20241009.nav
-rw-r--r-- 1 peter peter    1700  9. Okt 12:43  dbs-20241009.out
-rw-r--r-- 1 peter peter  514399  9. Okt 12:43  dbs-20241009.pdf
-rw-r--r-- 1 peter peter       0  9. Okt 12:43  dbs-20241009.snm
-rw-r--r-- 1 peter peter   32061  9. Okt 12:43  dbs-20241009.tex
-rw-r--r-- 1 peter peter    1025  9. Okt 12:43  dbs-20241009.toc
-rw-r--r-- 1 peter peter     264  9. Okt 12:43  dbs-20241009.vrb
-rw-r--r-- 1 peter peter     653  8. Okt 11:34  dbs-uebung-20241009.aux
-rw-r--r-- 1 peter peter   27136  8. Okt 11:34  dbs-uebung-20241009.log
-rw-r--r-- 1 peter peter       0  8. Okt 11:34  dbs-uebung-20241009.out
-rw-r--r-- 1 peter peter   44486  8. Okt 11:34  dbs-uebung-20241009.pdf
-rw-r--r-- 1 peter peter    4498  8. Okt 11:34  dbs-uebung-20241009.tex
-rwxr-xr-x 1 peter peter   15952  9. Okt 12:10  hello
-rw-r--r-- 1 peter peter      82  9. Okt 11:56  hello.c
-rw-r--r-- 1 peter peter 1969373 30. Aug 2023  'Ken_Thompson_(sitting)_and_Dennis_Ritchie_at_PDP-11_(2876612463).jpg'
lrwxrwxrwx 1 peter peter      48  7. Okt 2018   logo-hochschule-bochum-cvh-text-v2.pdf -> ../common/logo-hochschule-bochum-cvh-text-v2.pdf
lrwxrwxrwx 1 peter peter      36  5. Okt 2016   logo-hochschule-bochum.pdf -> ../common/logo-hochschule-bochum.pdf
-rwxr-xr-x 1 peter peter      53  9. Okt 12:54  ls
lrwxrwxrwx 1 peter peter      34  4. Okt 2023   online-shop.jpg -> Shopping_online_with_bank_card.jpg
-rw-r--r-- 1 peter peter   97596  4. Okt 2023   online-shop-lores.jpg
-rw-r--r-- 1 peter peter     495  9. Okt 12:49  path-01.txt
-rw-r--r-- 1 peter peter     430  9. Okt 12:51  path-02.txt
-rw-r--r-- 1 peter peter     402  9. Okt 12:52  path-03.txt
lrwxrwxrwx 1 peter peter      22  5. Apr 2021   pgscript.sty -> ../common/pgscript.sty
lrwxrwxrwx 1 peter peter      22  5. Okt 2016   pgslides.sty -> ../common/pgslides.sty
-rw-r--r-- 1 peter peter    2015  9. Okt 12:05  SCRATCH
-rw-r--r-- 1 peter peter    4041  9. Okt 11:56  shell-09.txt
-rw-r--r-- 1 peter peter     318  9. Okt 11:58  shell-10.txt
-rw-r--r-- 1 peter peter     487  9. Okt 12:00  shell-11.txt
-rw-r--r-- 1 peter peter     627  9. Okt 12:38  shell-12.txt
-rw-r--r-- 1 peter peter 1560212 17. Sep 2023   Shopping_online_with_bank_card.jpg
lrwxrwxrwx 1 peter peter      25  9. Apr 2018   Zeichen_123.pdf -> ../common/Zeichen_123.pdf
lrwxrwxrwx 1 peter peter      68  4. Okt 2023   zentraler-computer.jpg -> 'Ken_Thompson_(sitting)_and_Dennis_Ritchie_at_PDP-11_(2876612463).jpg'
-rw-r--r-- 1 peter peter  112044  4. Okt 2023   zentraler-computer-lores.jpg
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/pushd-01.txt

0 → 100644
+15 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> pushd /usr/local/
/usr/local ~/bo/2024ws/dbs/20241009
cassini/usr/local> ls
bin  csv2xls  etc  games  include  lib  man  sbin  share  src  X11
cassini/usr/local> cd lib
cassini/usr/local/lib> ls
libkdeinit_kuickshow.so  python2.7  python3.11  x86_64-linux-gnu
cassini/usr/local/lib> cd python3.11/
cassini/usr/local/lib/python3.11> ls
dist-packages
cassini/usr/local/lib/python3.11> cd dist-packages/
cassini/usr/local/lib/python3.11/dist-packages> ls
cassini/usr/local/lib/python3.11/dist-packages> popd
~/bo/2024ws/dbs/20241009
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/pwd-01.txt

0 → 100644
+23 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> pwd
/home/peter/bo/2024ws/dbs/20241009
cassini/home/peter/bo/2024ws/dbs/20241009> which pwd
/usr/bin/pwd
cassini/home/peter/bo/2024ws/dbs/20241009> /usr/bin/pwd
/home/peter/bo/2024ws/dbs/20241009
cassini/home/peter/bo/2024ws/dbs/20241009> file /usr/bin/pwd
/usr/bin/pwd: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=63da4c9ed4a402364b855543944299e50cd34c25, for GNU/Linux 3.2.0, stripped
cassini/home/peter/bo/2024ws/dbs/20241009> echo $PWD
/home/peter/bo/2024ws/dbs/20241009
cassini/home/peter/bo/2024ws/dbs/20241009> PWD=/home/peter/bo/2024ws/dbs
cassini/home/peter/bo/2024ws/dbs/20241009> echo $PWD
/home/peter/bo/2024ws/dbs
cassini/home/peter/bo/2024ws/dbs/20241009> /usr/bin/pwd
/home/peter/bo/2024ws/dbs/20241009
cassini/home/peter/bo/2024ws/dbs/20241009> cat /proc/self/cwd
cat: /proc/self/cwd: Ist ein Verzeichnis
cassini/home/peter/bo/2024ws/dbs/20241009> ls /proc/self/cwd
 A_Day_in_the_Life_of_a_Wartime_Housewife-_Everyday_Life_in_London,_England,_1941_D2379.jpg
 boese.txt
 cat-01.txt
 cat-02.txt
 cd-sammlung.csv

20241009/pwd-02.txt

0 → 100644
+13 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> cd ..
cassini/home/peter/bo/2024ws/dbs> pwd
/home/peter/bo/2024ws/dbs
cassini/home/peter/bo/2024ws/dbs> echo $PWD
/home/peter/bo/2024ws/dbs
cassini/home/peter/bo/2024ws/dbs> cd 20241009
cassini/home/peter/bo/2024ws/dbs/20241009> pwd
/home/peter/bo/2024ws/dbs/20241009
cassini/home/peter/bo/2024ws/dbs/20241009> echo $PWD
/home/peter/bo/2024ws/dbs/20241009
cassini/home/peter/bo/2024ws/dbs/20241009> echo $0
/bin/bash
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/shell-09.txt

0 → 100644
+69 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs> ls
20241001.p0  20241008.p2  common                 gen-prakt.sh  update
20241002     20241008.p3  dbs-slides-2024ws.pdf  README.md
20241008.p1  20241009     dbs-slides-2024ws.tex  termine.txt
[4]-  Fertig                  ypdf f 20241002/dbs-2024ws-p0.pdf
[5]+  Fertig                  ypdf f dbs-uebung-20241009.pdf  (Verz.: ~/bo/2024ws/dbs/20241009)
(gegenwärtiges Arbeitsverzeichnis ist: ~/bo/2024ws/dbs)
cassini/home/peter/bo/2024ws/dbs> which ls
/usr/bin/ls
cassini/home/peter/bo/2024ws/dbs> ls -l /usr/bin/ls
-rwxr-xr-x 1 root root 151344 20. Sep 2022  /usr/bin/ls
cassini/home/peter/bo/2024ws/dbs> file /usr/bin/ls
/usr/bin/ls: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=15dfff3239aa7c3b16a71e6b2e3b6e4009dab998, for GNU/Linux 3.2.0, stripped
cassini/home/peter/bo/2024ws/dbs> ls -l
insgesamt 1220
drwxr-xr-x 2 peter peter    4096  7. Okt 17:50 20241001.p0
drwxr-xr-x 3 peter peter    4096  7. Okt 18:58 20241002
drwxr-xr-x 3 peter peter    4096  8. Okt 10:25 20241008.p1
drwxr-xr-x 3 peter peter    4096  8. Okt 13:32 20241008.p2
drwxr-xr-x 3 peter peter    4096  8. Okt 11:52 20241008.p3
drwxr-xr-x 2 peter peter    4096  8. Okt 11:35 20241009
drwxr-xr-x 2 peter peter    4096  7. Okt 18:47 common
-rw-r--r-- 1 peter peter 1191979  7. Okt 18:58 dbs-slides-2024ws.pdf
-rw-r--r-- 1 peter peter     606  7. Okt 18:58 dbs-slides-2024ws.tex
-rwxr-xr-x 1 peter peter    1307 25. Mär 2024  gen-prakt.sh
-rw-r--r-- 1 peter peter    3293  7. Okt 18:58 README.md
-rw-r--r-- 1 peter peter     287  7. Okt 18:01 termine.txt
-rwxr-xr-x 1 peter peter    6989  7. Okt 18:58 update
cassini/home/peter/bo/2024ws/dbs> ls -a
.            20241002     20241008.p3  dbs-slides-2024ws.pdf  .git         update
..           20241008.p1  20241009     dbs-slides-2024ws.tex  README.md
20241001.p0  20241008.p2  common       gen-prakt.sh           termine.txt
cassini/home/peter/bo/2024ws/dbs> ls -a -l
insgesamt 1228
drwxr-xr-x 9 peter peter    4096  8. Okt 13:32 .
drwxr-xr-x 4 peter peter    4096 30. Sep 22:42 ..
drwxr-xr-x 2 peter peter    4096  7. Okt 17:50 20241001.p0
drwxr-xr-x 3 peter peter    4096  7. Okt 18:58 20241002
drwxr-xr-x 3 peter peter    4096  8. Okt 10:25 20241008.p1
drwxr-xr-x 3 peter peter    4096  8. Okt 13:32 20241008.p2
drwxr-xr-x 3 peter peter    4096  8. Okt 11:52 20241008.p3
drwxr-xr-x 2 peter peter    4096  8. Okt 11:35 20241009
drwxr-xr-x 2 peter peter    4096  7. Okt 18:47 common
-rw-r--r-- 1 peter peter 1191979  7. Okt 18:58 dbs-slides-2024ws.pdf
-rw-r--r-- 1 peter peter     606  7. Okt 18:58 dbs-slides-2024ws.tex
-rwxr-xr-x 1 peter peter    1307 25. Mär 2024  gen-prakt.sh
lrwxrwxrwx 1 peter peter      36  4. Okt 2023  .git -> /home/peter/bo/projekte/git/dbs/.git
-rw-r--r-- 1 peter peter    3293  7. Okt 18:58 README.md
-rw-r--r-- 1 peter peter     287  7. Okt 18:01 termine.txt
-rwxr-xr-x 1 peter peter    6989  7. Okt 18:58 update
cassini/home/peter/bo/2024ws/dbs> ls -al
insgesamt 1228
drwxr-xr-x 9 peter peter    4096  8. Okt 13:32 .
drwxr-xr-x 4 peter peter    4096 30. Sep 22:42 ..
drwxr-xr-x 2 peter peter    4096  7. Okt 17:50 20241001.p0
drwxr-xr-x 3 peter peter    4096  7. Okt 18:58 20241002
drwxr-xr-x 3 peter peter    4096  8. Okt 10:25 20241008.p1
drwxr-xr-x 3 peter peter    4096  8. Okt 13:32 20241008.p2
drwxr-xr-x 3 peter peter    4096  8. Okt 11:52 20241008.p3
drwxr-xr-x 2 peter peter    4096  8. Okt 11:35 20241009
drwxr-xr-x 2 peter peter    4096  7. Okt 18:47 common
-rw-r--r-- 1 peter peter 1191979  7. Okt 18:58 dbs-slides-2024ws.pdf
-rw-r--r-- 1 peter peter     606  7. Okt 18:58 dbs-slides-2024ws.tex
-rwxr-xr-x 1 peter peter    1307 25. Mär 2024  gen-prakt.sh
lrwxrwxrwx 1 peter peter      36  4. Okt 2023  .git -> /home/peter/bo/projekte/git/dbs/.git
-rw-r--r-- 1 peter peter    3293  7. Okt 18:58 README.md
-rw-r--r-- 1 peter peter     287  7. Okt 18:01 termine.txt
-rwxr-xr-x 1 peter peter    6989  7. Okt 18:58 update
cassini/home/peter/bo/2024ws/dbs>

20241009/shell-10.txt

0 → 100644
+12 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> cat hello.c
#include <stdio.h>

int main (void)
{
  printf ("Hello, world!\n");
  return 0;
}
cassini/home/peter/bo/2024ws/dbs/20241009> gcc -Wall -O hello.c -o hello
cassini/home/peter/bo/2024ws/dbs/20241009> ./hello
Hello, world!
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/shell-11.txt

0 → 100644
+9 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> read name
Peter
cassini/home/peter/bo/2024ws/dbs/20241009> echo Hallo $name
Hallo Peter
cassini/home/peter/bo/2024ws/dbs/20241009> read name
/*
cassini/home/peter/bo/2024ws/dbs/20241009> echo Hallo $name
Hallo /bin /boot /dev /etc /home /initrd.img /initrd.img.old /lib /lib32 /lib64 /libx32 /lost+found /media /mnt /opt /proc /root /run /sbin /srv /swapfile /sys /tmp /usr /var /vmlinuz /vmlinuz.old
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/shell-12.txt

0 → 100644
+22 −0
Original line number Diff line number Diff line
cassini% read name
/*
cassini% echo $name
/*
cassini% echo -e "\n\n\n        Pause bis 12:33 Uhr\n        ~~~~~~~~~~~~~~~~~~~\n\n"



        Pause bis 12:33 Uhr
        ~~~~~~~~~~~~~~~~~~~


cassini% echo $0
zsh
cassini%
cassini/home/peter/bo/2024ws/dbs/20241009> echo $0
/bin/bash
cassini/home/peter/bo/2024ws/dbs/20241009> read name
/*
cassini/home/peter/bo/2024ws/dbs/20241009> echo $name
/bin /boot /dev /etc /home /initrd.img /initrd.img.old /lib /lib32 /lib64 /libx32 /lost+found /media /mnt /opt /proc /root /run /sbin /srv /swapfile /sys /tmp /usr /var /vmlinuz /vmlinuz.old
cassini/home/peter/bo/2024ws/dbs/20241009>
+84 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009> mkdir tmp
cassini/home/peter/bo/2024ws/dbs/20241009> which mkdir
/usr/bin/mkdir
cassini/home/peter/bo/2024ws/dbs/20241009> which cp
/usr/bin/cp
cassini/home/peter/bo/2024ws/dbs/20241009> which mv
/usr/bin/mv
cassini/home/peter/bo/2024ws/dbs/20241009> which rm
/usr/bin/rm
cassini/home/peter/bo/2024ws/dbs/20241009> echo "Hello, world!"
Hello, world!
cassini/home/peter/bo/2024ws/dbs/20241009> which echo
/usr/bin/echo
cassini/home/peter/bo/2024ws/dbs/20241009> help echo
echo: echo [-neE] [Argument ...]
    Ausgabe der Argumente auf die Standardausgabe.

    Zeigt die Argumente auf der Standardausgabe gefolgt von einem
    Zeilenumbruch an.

    Optionen:
      -n        Keinen Zeilenumbruch anfügen
      -e        Interpretation der folgenden Escape-Sequenzen zulassen
      -E        Keine Interpretation der Escape-Sequenzen.

    »echo« interpretiert die folgenden Escape-Sequenzen:
        Alarm (Glocke)
      \b        Rücktaste (Backspace)
      \c        weitere Ausgabe unterdrücken
      \e        Escape-Zeichen
      \E        Escape-Zeichen
      \f        Seitenvorschub
      \n        Zeilenvorschub
      \r        Wagenrücklauf
      \t        Horizontaler Tabulator
      \v        Vertikaler Tabulator
      \\tumgekehrter Schrägstrich (Backslash)
      \0nnn     Zeichen mit dem ASCII-Code »NNN« (oktal). »NNN« kann null
                bis drei oktale Ziffern haben.
      \xHH      Acht-Bit-Zeichen mit dem Wert »HH« (hexadezimal). »HH«
                kann eine oder zwei hexadezimale Ziffern haben.

    Rückgabewert:
    Gibt »Erfolg« zurück, außer ein Ausgabefehler tritt auf.
cassini/home/peter/bo/2024ws/dbs/20241009> /usr/bin/echo --help
Aufruf: /usr/bin/echo [KURZOPTION]... [ZEICHENKETTE]...
  oder: /usr/bin/echo LANGOPTION
Die ZEICHENKETTEn auf die Standardausgabe ausgeben.

  -n             den abschließenden Zeilenvorschub unterdrücken
  -e             Interpretation von Rückschrägstrich‐Sequenzen anschalten
  -E             Interpretation von Rückschrägstrich‐Sequenzen unterdrücken
                 (Voreinstellung)
      --help        diese Hilfe anzeigen und beenden
      --version     Versionsinformation anzeigen und beenden

wenn -e angegeben ist, werden die folgenden Zeichenfolgen erkannt:

  \\     Backslash
  \a     Glocke (BEL)
  \b     Rückschritt
  \c     keine weitere Ausgabe produzieren
  \e     Escape
  \f     Seitenvorschub
  \n     Zeilenvorschub
  \r     Wagenrücklauf (Carriage Return)
  \t     horizontaler Tabulatorstopp
  \v     vertikaler Tabulatorstopp
  \0NNN  Byte mit oktalem Wert NNN (1 bis 3 Stellen)
  \xHH   Byte mit hexadezimalem Wert HH (1 bis 2 Stellen)

BEMERKUNG: Ihre Shell hat möglicherweise eine eigene Version von echo,
welche normalerweise die hier beschriebene Version ersetzt. Bitte greifen Sie
auf die Dokumentation der Shell zurück, um die dort unterstützten Optionen
in Erfahrung zu bringen.

HINWEIS: printf(1) ist die bevorzugte Alternative, weil es
keine Probleme mit der Ausgabe optionsähnlicher Zeichenketten hat.

Onlinehilfe für GNU coreutils: <https://www.gnu.org/software/coreutils/>
Melden Sie Übersetzungsfehler für %s an <translation-team-de@lists.sourceforge.net>
Die vollständige Dokumentation ist hier: <https://www.gnu.org/software/coreutils/echo>
oder auch lokal mittels „info '(coreutils) echo invocation'“
cassini/home/peter/bo/2024ws/dbs/20241009>

20241009/tmp2/test-02

0 → 100644
+1 −0
Original line number Diff line number Diff line
Dies ist ein Test.

20241009/touch-01.txt

0 → 100644
+29 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -lrt
insgesamt 8
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-02.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> touch -T 199912071314.15 test-02.txt
touch: Ungültige Option -- T
„touch --help“ liefert weitere Informationen.
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> touch -t 199912071314.15 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -lrt
insgesamt 8
-rw-r--r-- 1 peter peter 19  7. Dez 1999  test-02.txt
-rw-r--r-- 1 peter peter 19  9. Okt 13:21 test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -lrt --fulltime
ls: Unbekannte Option »--fulltime«
„ls --help“ liefert weitere Informationen.
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> ls -lrt --full-time
insgesamt 8
-rw-r--r-- 1 peter peter 19 1999-12-07 13:14:15.000000000 +0100 test-02.txt
-rw-r--r-- 1 peter peter 19 2024-10-09 13:21:14.832318110 +0200 test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241009/tmp> stat test-02.txt
 Datei: test-02.txt
 Größe: 19              Blöcke: 8          EA Block: 4096   reguläre Datei
Gerät: 254/1    Inode: 12073634    Verknüpfungen: 1
Zugriff: (0644/-rw-r--r--)  Uid: ( 1501/   peter)   Gid: ( 1501/   peter)
Zugriff: 1999-12-07 13:14:15.000000000 +0100
Modifiziert: 1999-12-07 13:14:15.000000000 +0100
Geändert: 2024-10-09 13:32:24.284355731 +0200
Geburt: 2024-10-09 13:22:01.984456248 +0200
cassini/home/peter/bo/2024ws/dbs/20241009/tmp>
+1 −0
Original line number Diff line number Diff line
../common/Zeichen_101.pdf
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
../common/Zeichen_123.pdf
 No newline at end of file

20241016/calculate1.bc

0 → 100755
+3 −0
Original line number Diff line number Diff line
#!/usr/bin/bc

2 + 2

20241016/calculate2.bc

0 → 100755
+4 −0
Original line number Diff line number Diff line
#!/usr/bin/bc

2 + 2
quit

20241016/calculate3.py

0 → 100755
+3 −0
Original line number Diff line number Diff line
#!/usr/bin/python3

print (3.14 * 2)
+658 −0
Original line number Diff line number Diff line
% dbs-20241016.pdf - Lecture Slides on Databases and Information Security
% Copyright (C) 2023, 2024  Peter Gerwinski
%
% This document is free software: you can redistribute it and/or
% modify it either under the terms of the Creative Commons
% Attribution-ShareAlike 3.0 License, or under the terms of the
% GNU General Public License as published by the Free Software
% Foundation, either version 3 of the License, or (at your option)
% any later version.
%
% This document is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this document.  If not, see <http://www.gnu.org/licenses/>.
%
% You should have received a copy of the Creative Commons
% Attribution-ShareAlike 3.0 Unported License along with this
% document.  If not, see <http://creativecommons.org/licenses/>.

% README: Unix-Kommandozeile: Dateisysteme, Ein- und Ausgabeströme, Pipes, Verzweigungen und Schleifen

\documentclass[10pt,t]{beamer}

\usepackage{pgslides}
\usepackage{tikz}

\newcommand{\vfilll}{\vspace{0pt plus 1filll}}

\newcommand{\underconstruction}{%
  \begin{picture}(0,0)
    \put(11,1.2){\makebox(0,0)[b]{\includegraphics[width=1.5cm]{Zeichen_123.pdf}}}
    \put(11,0.9){\makebox(0,0)[t]{\shortstack{Änderungen\\vorbehalten}}}
  \end{picture}}

\title{Datenbanken und Datensicherheit}
\author{Prof.\ Dr.\ rer.\ nat.\ Peter Gerwinski}
\date{16.\ Oktober 2024}

\begin{document}

\maketitleframe

\nosectionnonumber{\inserttitle}

\begin{frame}

  \shownosectionnonumber

  \begin{itemize}
    \item[\textbf{1}] \textbf{Einführung}
      \hfill\makebox(0,0)[br]{\raisebox{2.25ex}{\url{https://gitlab.cvh-server.de/pgerwinski/dbs}}}%
      \begin{itemize}
        \item[1.1] Was sind Datenbanken?
        \item[1.2] Was ist Datensicherheit?
        \item[1.3] In dieser Lehrveranstaltung
      \end{itemize}
    \item[\textbf{2}] \textbf{Kurzeinführung Unix}
      \begin{itemize}
        \item[2.1] Grundkonzepte
        \color{medgreen}
        \item[2.2] Die Kommandozeile: Grundlagen
        \color{orange}
        \item[2.3] Dateisysteme
        \color{red}
        \item[2.4] Ein- und Ausgabeströme
        \item[2.5] Pipes
        \item[2.6] Verzweigungen und Schleifen
%        \item[\dots]
      \end{itemize}
    \color{gray}
    \item[\textbf{3}] \textbf{Kurzeinführung TCP/IP}
    \vspace*{-\smallskipamount}
    \item[\textbf{\dots}]
  \end{itemize}

  \vfilll
  \underconstruction

\end{frame}

\section{Einführung}
\setcounter{subsection}{2}
\subsection{In dieser Lehrveranstaltung}

\begin{frame}

  \showsection
  \showsubsection

  \textbf{3 Praktikumsversuche}
  \begin{enumerate}\addtocounter{enumi}{-1}
    \visible<1->{\item
      Praxiserfahrung mit Unix und TCP/IP}
    \item
      Selbstbau eines einfachen DBMS
%    \item
%      Sicherheitsprüfung ("`Hacking"') eines Online-Shops
    \item
      Selbstbau einer prototypischen, sicheren Datenbankanwendung
    \item
      E-Mail-Verschlüsselung
%    \visible<1->{\item[\boldmath$\infty\kern-1.18em\infty\kern-1.18em\infty$.]
%      Selbstbau einer praxistauglichen, sicheren Datenbankanwendung}
  \end{enumerate}
  \visible<1->{Keine festen Abgabetermine, sondern:\\
  Angebot zum betreuten Arbeiten im DV-Pool,\\
  Vorzeigen (Testieren) der Ergebnisse}

  \bigskip

  \textbf{Prüfungsleistung:} Klausur

  \vfilll
  \underconstruction

\end{frame}

\section{Kurzeinführung Unix}
\setcounter{subsection}{1}
\subsection{Die Kommandozeile: Grundlagen}

\begin{frame}

  \showsubsection

  \begin{itemize}
    \item
      Verzeichnisse für Programme: \lstinline[style=cmd]{echo $PATH}
    \item
      Programm in explizitem Verzeichnis aufrufen: \lstinline[style=cmd]{/bin/ls -l}
    \item
      Programm im aktuellen Verzeichnis aufrufen: \lstinline[style=cmd]{./hello}
    \bigskip

    \addtolength{\leftskip}{1cm}
    \item[MS-DOS:]
      Ausführbare Programme werden gefunden,\\
      wenn sie im \lstinline[style=terminal]{PATH} stehen\\
      \emph{oder\/} sich im aktuellen Verzeichnis befinden.
    \smallskip
    \item[Unix:]
      Ausführbare Programme werden gefunden,\\
      wenn sie im \lstinline[style=terminal]{PATH} stehen.
      
      \smallskip
      \textarrow\ Vermeiden von Ausnahmen

%      \pause
      \smallskip
      Das aktuelle Verzeichnis (\lstinline[style=terminal]{.})
      \emph{kann\/} im \lstinline[style=terminal]{PATH} stehen,\\
      muß dies aber nicht\only<1->{ --\\
      und sollte es aus Sicherheitsgründen auch nicht}.

  \end{itemize}

\end{frame}

\subsection{Dateisysteme}

\begin{frame}

  \showsubsection

  \begin{itemize}
    \item
      Dateien listen: \lstinline[style=cmd]{ls}\\
      langes Listenformat: \lstinline[style=cmd]{ls -l}\\
      rückwärts nach Zeit sortiert: \lstinline[style=cmd]{ls -lrt}
    \item
      Datei ausgeben: \lstinline[style=cmd]{cat hello.c}
    \item
      Datei anzeigen: \lstinline[style=cmd]{less hello.c}
  \end{itemize}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      Arbeitsverzeichnis anzeigen: \lstinline[style=cmd]{pwd}\\
    \item
      Arbeitsverzeichnis wechseln: \lstinline[style=cmd]{cd script}\\
      (\emph{kein\/} Programm, sondern Shell-Befehl)
    \item
      übergeordnetes Verzeichnis: \lstinline[style=cmd]{cd ..}
    \item
      eigenes \newterm{Home-\/}Verzeichnis: \lstinline[style=cmd]{cd}
    \item
      Wurzelverzeichnis: \lstinline[style=cmd]{cd /}
    \item
      wieder zurück: \lstinline[style=cmd]{cd -}
  \end{itemize}

%  \pause
  \begin{lstlisting}[style=terminal]
    cassini/home/peter/bo/2013ss/net/script> ¡cd /usr/bin¿
    cassini/usr/bin> ¡cd ../lib¿
    cassini/usr/lib> ¡cd¿
    cassini/home/peter>
  \end{lstlisting}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      Dateien kopieren (\emph{copy\/}): \lstinline[style=cmd]{cp}
    \item
      Dateien verschieben/umbenennen (\emph{move\/}): \lstinline[style=cmd]{mv}
    \item
      Dateien löschen (\emph{remove\/}): \lstinline[style=cmd]{rm}
  \end{itemize}

  \begin{lstlisting}[style=terminal,xleftmargin=-3pt]
    cassini/home/peter> ¡cp -p foo/test.txt¿
    cp: missing destination file operand after `foo/test.txt'
    Try `cp --help' for more information.
    cassini/home/peter> ¡cp -p foo/test.txt .¿
    cassini/home/peter> ¡mv test.txt bla.txt¿
    cassini/home/peter> ¡cat bla.txt¿
    Dies ist ein Test.
    cassini/home/peter> ¡rm bla.txt¿
    cassini/home/peter>
  \end{lstlisting}

  \medskip

  Aktuelles Verzeichnis: \lstinline[style=cmd]{.}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      \newterm{Zugriffsrechte}
  \end{itemize}

  \begingroup
%    \small
    \begin{lstlisting}[style=terminal,gobble=6,xleftmargin=-3pt]
      cassini/home/peter/bo/2019ws/es/20191009> ¡ls -l¿
      ...
      -rw-r--r-- 1 peter peter 24523 Okt  8 21:47 es-20191009.tex
    \end{lstlisting}
  \endgroup
  \begin{onlyenv}<2>
    \begin{picture}(0,1)
      \color{red}
      \put(0.3,0){\tikz{\draw[-latex,red](0,0)--(0,1);
                        \draw[-latex,red](0,0)--(2.5,1);}}
      \put(0,-0.1){\makebox(0,0)[tl]{Benutzer (u -- \emph{user\/}) darf lesen und schreiben}}
    \end{picture}
  \end{onlyenv}
  \begin{onlyenv}<3>
    \begin{picture}(0,1)
      \color{red}
      \put(0.84,0){\tikz{\draw[-latex,red](0,0)--(0,1);
                        \draw[-latex,red](0,0)--(3.2,1);}}
      \put(0,-0.1){\makebox(0,0)[tl]{Gruppe (g -- \emph{group\/}) darf lesen}}
    \end{picture}
  \end{onlyenv}
  \begin{onlyenv}<4>
    \begin{picture}(0,1)
      \color{red}
      \put(1.47,0){\tikz{\draw[-latex,red](0,0)--(0,1);}}
      \put(0,-0.1){\makebox(0,0)[tl]{alle anderen (o -- \emph{other\/}) dürfen lesen}}
    \end{picture}
  \end{onlyenv}

  \medskip
  \pause[5]
  \begin{itemize}
    \item
      Zugriffsrechte ändern:\\
      \lstinline[style=cmd]{chmod o-r es-20191009.tex} -- Lesezugriff entziehen\\
      \lstinline[style=cmd]{chmod g+w es-20191009.tex} -- Schreibzugriff gewähren\\
      \lstinline[style=cmd]{chmod 640 es-20191009.tex} --
      auf \lstinline[style=terminal]{-}%
          \lstinline[style=terminal]{rw-}%
          \lstinline[style=terminal]{r--}%
          \lstinline[style=terminal]{---} setzen
  \end{itemize}
  \pause
  \begin{picture}(0,0)
    \color{red}
    \put(7.22,0.55){\makebox(0,0)[tl]{%
      \small
      \begin{math}%
        \underbrace{\rule{0.7em}{0pt}}_{\textstyle 6}%
        \underbrace{\rule{0.7em}{0pt}}_{\textstyle 4}%
        \underbrace{\rule{0.7em}{0pt}}_{\textstyle 0}
      \end{math}}}
  \end{picture}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      \newterm{ausführbare\/} Dateien
  \end{itemize}

  \begingroup
%    \small
    \begin{lstlisting}[style=terminal,gobble=6,xleftmargin=-3pt]
      cassini/home/peter/bo/2019ws/es/20191002> ¡cat test2.txt¿
      ls -l
      cassini/home/peter/bo/2019ws/es/20191002> ¡chmod +x test2.txt¿
      cassini/home/peter/bo/2019ws/es/20191002> ¡ls -l test2.txt¿
      -rwxr-xr-x 1 peter peter 6 Okt  2 13:43 test2.txt
      cassini/home/peter/bo/2019ws/es/20191002> ¡./test2.txt¿
      insgesamt 4828
      lrwxrwxrwx 1 peter peter      18 Apr 13  2016 csa2.jpg -> ../common/csa2.jpg
      -rw-r--r-- 1 peter peter 4619138 Okt  8 21:28 es-20191002.pdf
      ...
    \end{lstlisting}
  \endgroup

%  \pause
  \begin{itemize}
    \item
      ausführbare Textdateien: \newterm{Skripte}

%      \pause
      \smallskip
      hier: ausführbare Textdatei mit Shell-Befehlen\\
      (ohne spezielle Kennung): Shell-Skript

      \pause
      \smallskip
      Kennung: 1.\ Zeile enthält \lstinline[style=terminal]{#!} und den Interpreter,\\
      z.\,B.\ \lstinline[style=terminal]{#!/bin/bash}\\
  \end{itemize}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      Datenträger in Verzeichnis \newterm{einhängen\/}: \lstinline[style=cmd]{mount}
  \end{itemize}

  \begin{lstlisting}[style=terminal]
    cassini/home/peter> ¡ls /media/usb1/¿
    cassini/home/peter> ¡mount /media/usb1¿
    cassini/home/peter> ¡ls /media/usb1/¿
    es-20191002.pdf  hello.c  hexapode  KIS-Bericht.pdf
    cassini/home/peter> ¡umount /media/usb1¿
    cassini/home/peter> ¡ls /media/usb1/¿
    cassini/home/peter>
  \end{lstlisting}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      \newterm{Symbolische Verknüpfungen -- symbolic links}

      \smallskip

      Verweis auf die eigentliche Datei\\
      \textarrow\ Wenn man die Datei löscht, zeigt der Link ins Leere.

      \smallskip

      Verknüpfung anlegen: \lstinline[style=cmd]{ln -s datei link}\\
      (Richtung: wie bei \lstinline[style=cmd]{cp})

      \smallskip

      Beispiel: \lstinline[style=cmd]{ln -s ../common/GNU-GPL-3 gpl.txt}
    \pause
    \medskip
    \item
      \newterm{Harte Verknüpfungen -- hard links}

      \smallskip
      
      Dieselben Daten auf dem Datenträger\\
      sind unter mehreren Namen verfügbar.\\
      \textarrow\ Wenn man einen löscht, sind die Daten noch da.

      \smallskip

      \begingroup
        \begin{lstlisting}[style=terminal,gobble=10,xleftmargin=-3pt]
          cassini/home/peter/bo/2019ws/es/20191002> ¡ls -l¿
          ...
          -rw-r--r-- 1 peter peter    1202 Okt  2 13:35 shell-06.txt
          drwxr-xr-x 2 peter peter    4096 Okt  2 13:16 test
        \end{lstlisting}
      \endgroup
      \begin{picture}(0,0.5)
        \color{red}
        \put(2.31,0){\tikz{\draw[-latex,red](0,0)--(0,0.5);}}
        \put(0,-0.1){\makebox(0,0)[tl]{Anzahl der ("`harten"') Links
                                       auf diese Datei / dieses Verzeichnis}}
      \end{picture}
  \end{itemize}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      \lstinline[style=cmd]{grep}: Dateien durchsuchen
  \end{itemize}
  \begin{lstlisting}[style=terminal,xleftmargin=-3pt]
    cassini/home/peter/bo/2019ws/es/20191002> ¡grep gcc *.txt¿
    shell-03.txt: cassini/...> gcc -Wall -O hello.c -o hello
  \end{lstlisting}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      \lstinline[style=cmd]{find}: Dateien anhand ihrer Eigenschaften suchen
  \end{itemize}

%  \small
  \begin{lstlisting}[style=terminal]
    $ ¡find . -name "*.txt"¿
    ./shell-06.txt
    ./shell-03.txt
    ./shell-05.txt
    ./test.txt
    ./test/test.txt
    ...
    $ ¡find . -name "*.txt" -perm /u+x¿
    ./test2.txt
    $ ¡find . -name "*.txt" -perm /u+x -exec ls -l {} \;¿
    -rwxr-xr-x 1 peter peter 6 Okt  2 13:43 ./test2.txt
  \end{lstlisting}

\end{frame}

\subsection{Ein- und Ausgabeströme}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      Standard-Ausgabe in Datei umleiten
  \end{itemize}
  \begin{lstlisting}[style=terminal]
    $ ¡echo "Dies ist ein Test." > test.txt¿
    $ ¡cat test.txt¿
    Dies ist ein Test.
  \end{lstlisting}

  \pause
  \smallskip

  \begin{itemize}
    \item
      Standard-Ausgabe an Datei anhängen
  \end{itemize}
  \begin{lstlisting}[style=terminal]
    $ ¡echo "Dies ist noch ein Test." >> test.txt¿
    $ ¡cat test.txt¿
    Dies ist ein Test.
    Dies ist noch ein Test.
  \end{lstlisting}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      Fehler-Ausgabe in Datei umleiten
  \end{itemize}
  \begin{lstlisting}[style=terminal]
    $ ¡cat gibtsnicht.txt > fehler.txt¿
    cat: gibtsnicht.txt: No such file or directory
    $ ¡cat fehler.txt¿
    $ ¡cat gibtsnicht.txt 2> fehler.txt¿
    $ ¡cat fehler.txt¿
    cat: gibtsnicht.txt: No such file or directory
  \end{lstlisting}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      Standard-Eingabe aus Datei lesen
  \end{itemize}
  \begin{lstlisting}[style=terminal]
    $ ¡bc¿
    bc 1.06.95
    Copyright [...] 2006 Free Software Foundation, Inc.
    This is free software with ABSOLUTELY NO WARRANTY.
    For details type `warranty'.
    ¡2 + 2¿
    4
    $ ¡echo "2 + 2" > test.bc¿
    $ ¡bc < test.bc¿
    4
  \end{lstlisting}

\end{frame}

\subsection{Pipes}

\begin{frame}[fragile]

  \showsubsection

  Standard-Ausgabe von Programm A\\
  wird zu Standard-Eingabe von Programm B

  \smallskip

  \begin{lstlisting}[style=terminal]
    $ ¡echo "2 + 2" | bc¿
    4
  \end{lstlisting}

  \smallskip

  \textarrow\ sehr mächtiger "`Baukasten"'

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      \lstinline[style=cmd]{sed}: \emph{stream editor}\\
      Suchen und Ersetzen (und noch viel mehr)
  \end{itemize}
  \begin{lstlisting}[style=terminal]
    $ ¡echo "Schlimmer geht nimmer." | sed -e 's/nim/im/g'¿
    Schlimmer geht immer.
  \end{lstlisting}

\end{frame}

\begin{frame}[fragile]

  \showsubsection

  \begin{itemize}
    \item
      \lstinline[style=cmd]{grep}: Standard-Eingabe durchsuchen
  \end{itemize}
  \begin{lstlisting}[style=terminal]
    $ ¡ls | grep slides¿
    pgslides.sty
    $ ¡ls *.pdf | grep -v logo¿
    es-20191002.pdf
    Zeichen_123.pdf
    $ ¡ls -l $(ls *.pdf | grep -v logo)¿
    -rw-r--r-- 1 ... 4619138 Okt 8 21:28 es-20191002.pdf
    lrwxrwxrwx 1 ...      25 Okt 3  2016 Zeichen_123.pdf -> ...
  \end{lstlisting}

\end{frame}

\subsection{Verzweigungen und Schleifen}

\begin{frame}[fragile]

  \showsubsection

  \begin{lstlisting}[style=terminal]
    $ ¡if grep Blubb test.txt; then echo "gefunden"; \
      else echo "nicht gefunden"; fi¿
    nicht gefunden
    $ ¡for x in foo bar baz; do echo $x; done¿
    foo
    bar
    baz
  \end{lstlisting}

\end{frame}

\nosectionnonumber{\inserttitle}

\begin{frame}

  \shownosectionnonumber

  \begin{itemize}
    \item[\textbf{1}] \textbf{Einführung}
      \hfill\makebox(0,0)[br]{\raisebox{2.25ex}{\url{https://gitlab.cvh-server.de/pgerwinski/dbs}}}%
      \begin{itemize}
        \item[1.1] Was sind Datenbanken?
        \item[1.2] Was ist Datensicherheit?
        \item[1.3] In dieser Lehrveranstaltung
      \end{itemize}
    \item[\textbf{2}] \textbf{Kurzeinführung Unix}
      \begin{itemize}
        \item[2.1] Grundkonzepte
        \item[2.2] Die Kommandozeile: Grundlagen
        \color{medgreen}
        \item[2.3] Dateisysteme
        \item[2.4] Ein- und Ausgabeströme
        \item[2.5] Pipes
        \item[2.6] Verzweigungen und Schleifen
%        \item[\dots]
      \end{itemize}
    \color{gray}
    \item[\textbf{3}] \textbf{Kurzeinführung TCP/IP}
    \vspace*{-\smallskipamount}
    \item[\textbf{\dots}]
  \end{itemize}

  \vfilll
  \underconstruction

\end{frame}

\iffalse

\fi

\end{document}
+105 −0
Original line number Diff line number Diff line
% dbs-uebung-20241016.pdf - Exercises on Databases and Information Security
% Copyright (C) 2024  Peter Gerwinski
%
% This document is free software: you can redistribute it and/or
% modify it either under the terms of the Creative Commons
% Attribution-ShareAlike 3.0 License, or under the terms of the
% GNU General Public License as published by the Free Software
% Foundation, either version 3 of the License, or (at your option)
% any later version.
%
% This document is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this document.  If not, see <http://www.gnu.org/licenses/>.
%
% You should have received a copy of the Creative Commons
% Attribution-ShareAlike 3.0 Unported License along with this
% document.  If not, see <http://creativecommons.org/licenses/>.

% README: 2: Datei löschen, CSV-Datei ausgeben

\documentclass[a4paper]{article}

\usepackage{pgscript}

\thispagestyle{empty}

\begin{document}

  \thispagestyle{empty}

  \section*{Datenbanken und Datensicherheit\\
            Übungsaufgaben 2 -- 16.\ Oktober 2024}

  \exercise{Datei löschen}

  In einem Verzeichnis befindet sich u.\,a.\ eine Datei mit dem Namen \file{-r $*$}.
  \begin{lstlisting}[style=terminal]
    $ ¡ls -l¿
    insgesamt 4
    -rw-r--r-- 1 peter peter    0 15. Okt 11:07 '-r *'
    -rw-r--r-- 1 peter peter    0 15. Okt 11:08  wichtig.pdf
    -rw-r--r-- 1 peter peter    0 15. Okt 11:08  wertvoll.txt
    drwxr-xr-x 2 peter peter 4096 15. Okt 11:12  essentiell
  \end{lstlisting}
  Wie kann man die Datei löschen, ohne dabei auch die anderen Dateien zu löschen?
  \begin{picture}(0,0)
    \put(-1,1.2){\makebox(0,0)[tl]{\includegraphics[width=5cm]{Zeichen_101.pdf}}}
  \end{picture}

  \strong{Hinweis:} Der Befehl \lstinline[style=cmd]{rm -r *} bewirkt ein rekursives
  Löschen aller Dateien.\\
  \strong{Es besteht die Gefahr von Datenverlust!}

  \hangindent-5.2cm
  \hangafter 0
  Zum Ausprobieren: In den Dateien \gitfile{dbs}{2024ws/20241016}{aufgabe-1.zip}
  und \gitfile{dbs}{2024ws/20241016}{aufgabe-1.tar.gz}
  finden Sie ein Verzeichnis \file{tmp} mit dem o.\,a.\ Inhalt.
  (Je nachdem, wie Sie die Archiv-Dateien entpacken,
  wird die Datei \file{-r $*$} evtl.\ gar nicht erst angelegt.)

  \exercise{CSV-Datei ausgeben}

  Wir betrachten nochmals die Datei \gitfile{dbs}{2024ws/20241009}{cd-sammlung.csv}:
  \begin{lstlisting}[style=terminal,basicstyle=\footnotesize\ttfamily\color{darkgreen}]
    "CD_ID";"Albumtitel";"Interpret";"Gründungsjahr";"Erscheinungsjahr";"Track";"Titel"
    4711;"Not That Kind";"Anastacia";1999;2000;1;"Not That Kind"
    4711;"Not That Kind";"Anastacia";1999;2000;2;"I'm Outta Love"
    4711;"Not That Kind";"Anastacia";1999;2000;3;"Cowboys & Kisses"
    4712;"Wish You Were Here";"Pink Floyd";1965;1975;1;"Shine On You Crazy Diamond"
    4713;"Freak of Nature";"Anastacia";1999;2001;1;"Paid my Dues"
  \end{lstlisting}

  Schreiben Sie ein Shell-Skript, das die Nummern einer Zeile und einer Spalte abfragt
  und dann das entsprechende Feld ausgibt, wobei die Titelzeile nicht mitzählt.

  Beispiel:
  \begin{lstlisting}[style=terminal]
    $ ¡./mein_skript.sh¿
    Zeile: ¡4¿
    Spalte: ¡2¿
    Inhalt von Zeile 4, Spalte 2: Freak of Nature
  \end{lstlisting}

  \strong{Hinweise:}\vspace{-1.5\medskipamount}
  \begin{itemize}
    \item
      \lstinline[style=cmd]{sed -n "35,36p" dbs-uebung-20241016.tex}
    \item
      Alternativ:\quad\lstinline[style=cmd]{man head},\quad\lstinline[style=cmd]{man tail}
    \item
      \lstinline[style=cmd]{echo $((6 * 7))}
    \item
      \dots\ und weiterhin:\quad\lstinline[style=cmd]{man cut}
  \end{itemize}

  \begin{flushright}
    \textit{Viel Erfolg!}
  \end{flushright}

\end{document}

20241016/find-01.txt

0 → 100644
+35 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs> find . -name "*.sh"
./20241002/test-01.sh
./gen-prakt.sh
./20241016/ls-root2.sh
./20241016/scripts-13.sh
./20241016/greeting2.sh
./20241016/ls-root.sh
./20241016/greeting.sh
./20241016/hallo3.sh
./20241016/hallo.sh
cassini/home/peter/bo/2024ws/dbs> find . -name "*.pdf"
./20241002/Zeichen_123.pdf
./20241002/dbs-2024ws-p0.pdf
./20241002/dbs-20241002.pdf
./20241002/logo-hochschule-bochum.pdf
./20241002/logo-hochschule-bochum-cvh-text-v2.pdf
./common/dbs-slides-title-2024ws.pdf
./common/Zeichen_123.pdf
./common/Ethernetpaket.pdf
./common/Zeichen_101.pdf
./common/logo-hochschule-bochum.pdf
./common/logo-hochschule-bochum-cvh-text-v2.pdf
./dbs-slides-2024ws.pdf
./20241016/dbs-20241016.pdf
./20241016/Zeichen_123.pdf
./20241016/dbs-uebung-20241016.pdf
./20241016/Zeichen_101.pdf
./20241016/logo-hochschule-bochum.pdf
./20241016/logo-hochschule-bochum-cvh-text-v2.pdf
./20241009/dbs-uebung-20241009.pdf
./20241009/dbs-20241009.pdf
./20241009/Zeichen_123.pdf
./20241009/logo-hochschule-bochum.pdf
./20241009/logo-hochschule-bochum-cvh-text-v2.pdf
cassini/home/peter/bo/2024ws/dbs>

20241016/find-02.txt

0 → 100644
+30 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs> find . -type l
./20241002/zentraler-computer.jpg
./20241002/computer-arbeitsplaetze.jpg
./20241002/pgslides.sty
./20241002/dbms-ohne-computer.jpg
./20241002/Zeichen_123.pdf
./20241002/pgscript.sty
./20241002/online-shop.jpg
./20241002/logo-hochschule-bochum.pdf
./20241002/logo-hochschule-bochum-cvh-text-v2.pdf
./.git
./20241016/test/test-02.txt
./20241016/test/test-03.txt
./20241016/pgslides.sty
./20241016/test2
./20241016/Zeichen_123.pdf
./20241016/pgscript.sty
./20241016/Zeichen_101.pdf
./20241016/logo-hochschule-bochum.pdf
./20241016/logo-hochschule-bochum-cvh-text-v2.pdf
./20241009/zentraler-computer.jpg
./20241009/computer-arbeitsplaetze.jpg
./20241009/pgslides.sty
./20241009/dbms-ohne-computer.jpg
./20241009/Zeichen_123.pdf
./20241009/pgscript.sty
./20241009/online-shop.jpg
./20241009/logo-hochschule-bochum.pdf
./20241009/logo-hochschule-bochum-cvh-text-v2.pdf
cassini/home/peter/bo/2024ws/dbs>

20241016/greeting.sh

0 → 100755
+4 −0
Original line number Diff line number Diff line
#!/bin/bash

read name
echo Hallo $name

20241016/greeting2.sh

0 → 100755
+3 −0
Original line number Diff line number Diff line
#!/bin/bash

echo Hallo $1

20241016/grep-01.txt

0 → 100644
+18 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test3> cat test[123].txt
Hello, world!
Hallo, Welt!
Hällo, wörlt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> cat test1.txt
Hello, world!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> cat test2.txt
Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> cat test3.txt
Hällo, wörlt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep Hallo *.txt
test2.txt:Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep Hello *.txt
test1.txt:Hello, world!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep H[ae]llo *.txt
test1.txt:Hello, world!
test2.txt:Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3>

20241016/grep-02.txt

0 → 100644
+18 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep "H.*o" *.txt
test1.txt:Hello, world!
test2.txt:Hallo, Welt!
test3.txt:Hällo, wörlt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep "H.llo" *.txt
test1.txt:Hello, world!
test2.txt:Hallo, Welt!
test3.txt:Hällo, wörlt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep "Hel*o" *.txt
test1.txt:Hello, world!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep "Welt" *.txt
test2.txt:Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep "^Welt" *.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep "^H" *.txt
test1.txt:Hello, world!
test2.txt:Hallo, Welt!
test3.txt:Hällo, wörlt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3>

20241016/grep-03.txt

0 → 100644
+9 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep "H.*o" *.txt
test1.txt:Hello, world!
test2.txt:Hallo, Welt!
test3.txt:Hällo, wörlt!
cassini/home/peter/bo/2024ws/dbs/20241016/test3> grep -o "H.*o" *.txt
test1.txt:Hello, wo
test2.txt:Hallo
test3.txt:Hällo
cassini/home/peter/bo/2024ws/dbs/20241016/test3>

20241016/grep-04.txt

0 → 100644
+11 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> grep -o "https\?://[-0-9a-z./]*" ../common/GNU-GPL-3
http://fsf.org/
http://www.gnu.org/licenses/
http://www.gnu.org/licenses/
http://www.gnu.org/philosophy/why-not-lgpl.html
cassini/home/peter/bo/2024ws/dbs/20241016> egrep -o "https?://[-0-9a-z./]*" ../common/GNU-GPL-3
http://fsf.org/
http://www.gnu.org/licenses/
http://www.gnu.org/licenses/
http://www.gnu.org/philosophy/why-not-lgpl.html
cassini/home/peter/bo/2024ws/dbs/20241016>

20241016/hallo.sh

0 → 100755
+1 −0
Original line number Diff line number Diff line
echo "Hallo, Welt!"

20241016/hallo3.sh

0 → 100755
+3 −0
Original line number Diff line number Diff line
#!/bin/bash

echo "Hallo, Welt!"
+16 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test> ln test-01.txt test-04.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -l
insgesamt 8
-rw-r--r-- 2 peter peter 19 16. Okt 12:51 test-01.txt
lrwxrwxrwx 1 peter peter 11 16. Okt 13:04 test-02.txt -> test-03.txt
lrwxrwxrwx 1 peter peter 11 16. Okt 12:51 test-03.txt -> test-02.txt
-rw-r--r-- 2 peter peter 19 16. Okt 12:51 test-04.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> rm test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-04.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -l
insgesamt 4
lrwxrwxrwx 1 peter peter 11 16. Okt 13:04 test-02.txt -> test-03.txt
lrwxrwxrwx 1 peter peter 11 16. Okt 12:51 test-03.txt -> test-02.txt
-rw-r--r-- 1 peter peter 19 16. Okt 12:51 test-04.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test>
+17 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test> ln test-04.txt test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -l
insgesamt 8
-rw-r--r-- 2 peter peter 19 16. Okt 12:51 test-01.txt
lrwxrwxrwx 1 peter peter 11 16. Okt 13:04 test-02.txt -> test-03.txt
lrwxrwxrwx 1 peter peter 11 16. Okt 12:51 test-03.txt -> test-02.txt
-rw-r--r-- 2 peter peter 19 16. Okt 12:51 test-04.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-01.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-04.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241016/test> echo "Hallo?" > test-04.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-01.txt
Hallo?
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-04.txt
Hallo?
cassini/home/peter/bo/2024ws/dbs/20241016/test>
+12 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -l
insgesamt 8
-rw-r--r-- 2 peter peter  7 16. Okt 13:07 test-01.txt
lrwxrwxrwx 1 peter peter 11 16. Okt 13:04 test-02.txt -> test-03.txt
lrwxrwxrwx 1 peter peter 11 16. Okt 12:51 test-03.txt -> test-02.txt
-rw-r--r-- 2 peter peter  7 16. Okt 13:07 test-04.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-04.txt
Hallo?
cassini/home/peter/bo/2024ws/dbs/20241016/test> echo "Und jetzt?" > test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-04.txt
Und jetzt?
cassini/home/peter/bo/2024ws/dbs/20241016/test>
+13 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -li
insgesamt 8
12074767 -rw-r--r-- 2 peter peter 11 16. Okt 13:11 test-01.txt
12074774 lrwxrwxrwx 1 peter peter 11 16. Okt 13:04 test-02.txt -> test-03.txt
12074769 lrwxrwxrwx 1 peter peter 11 16. Okt 12:51 test-03.txt -> test-02.txt
12074767 -rw-r--r-- 2 peter peter 11 16. Okt 13:11 test-04.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cd ..
cassini/home/peter/bo/2024ws/dbs/20241016> cd ..
cassini/home/peter/bo/2024ws/dbs> cd -
/home/peter/bo/2024ws/dbs/20241016
cassini/home/peter/bo/2024ws/dbs/20241016> ln test test3
ln: test: harte Verknüpfung für Verzeichnisse ist nicht erlaubt
cassini/home/peter/bo/2024ws/dbs/20241016>
+29 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs> ls -la
insgesamt 1372
drwxr-xr-x 11 peter peter    4096 15. Okt 15:26 .
drwxr-xr-x  5 peter peter    4096  9. Okt 18:08 ..
drwxr-xr-x  2 peter peter    4096  7. Okt 17:50 20241001.p0
drwxr-xr-x  3 peter peter    4096  7. Okt 18:58 20241002
drwxr-xr-x  3 peter peter    4096  8. Okt 10:25 20241008.p1
drwxr-xr-x  3 peter peter    4096  8. Okt 13:32 20241008.p2
drwxr-xr-x  3 peter peter    4096  8. Okt 11:52 20241008.p3
drwxr-xr-x  6 peter peter    4096 15. Okt 12:38 20241009
drwxr-xr-x  3 peter peter    4096  9. Okt 14:19 20241009.p3
drwxr-xr-x  6 peter peter    4096 16. Okt 13:24 20241016
drwxr-xr-x  2 peter peter    4096 15. Okt 11:57 common
-rw-r--r--  1 peter peter 1333798 15. Okt 13:50 dbs-slides-2024ws.pdf
-rw-r--r--  1 peter peter     786 15. Okt 13:50 dbs-slides-2024ws.tex
-rwxr-xr-x  1 peter peter    1307 25. Mär 2024  gen-prakt.sh
lrwxrwxrwx  1 peter peter      36  4. Okt 2023  .git -> /home/peter/bo/projekte/git/dbs/.git
-rw-r--r--  1 peter peter    3710 15. Okt 13:50 README.md
-rw-r--r--  1 peter peter     287  7. Okt 18:01 termine.txt
-rwxr-xr-x  1 peter peter    6989  7. Okt 18:58 update
cassini/home/peter/bo/2024ws/dbs> cd ..
cassini/home/peter/bo/2024ws> ls -la
insgesamt 20
drwxr-xr-x  5 peter peter 4096  9. Okt 18:08 .
drwxr-xr-x 37 peter peter 4096  4. Okt 09:17 ..
drwxr-xr-x 11 peter peter 4096 15. Okt 15:26 dbs
drwxr-xr-x  6 peter peter 4096  9. Okt 18:32 hp
drwxr-xr-x  3 peter peter 4096 12. Aug 15:39 software-entwicklungsprojekt
cassini/home/peter/bo/2024ws>

20241016/if-01.txt

0 → 100644
+14 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> grep -o "https\?://[-0-9a-z./]*" ../common/GNU-GPL-3
http://fsf.org/
http://www.gnu.org/licenses/
http://www.gnu.org/licenses/
http://www.gnu.org/philosophy/why-not-lgpl.html
cassini/home/peter/bo/2024ws/dbs/20241016> echo $?
0
cassini/home/peter/bo/2024ws/dbs/20241016> grep -o "https\?://[-0-9a-z./]*" dbs-20241016.tex http://www.gnu.org/licenses/
http://creativecommons.org/licenses/
https://gitlab.cvh-server.de/pgerwinski/dbs
https://gitlab.cvh-server.de/pgerwinski/dbs
cassini/home/peter/bo/2024ws/dbs/20241016> echo $?                                           0
cassini/home/peter/bo/2024ws/dbs/20241016> grep -o "[a-z0-9.]@[-0-9a-z./]*" dbs-20241016.tex cassini/home/peter/bo/2024ws/dbs/20241016> echo $?                                           1
cassini/home/peter/bo/2024ws/dbs/20241016>

20241016/if-02.txt

0 → 100644
+3 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> if grep "[a-z0-9.]@[-0-9a-z./]*" dbs-20241016.tex ; then echo "gefunden"; else echo "nicht gefunden"; fi
nicht gefunden
cassini/home/peter/bo/2024ws/dbs/20241016>
+4 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test3> echo "Dies ist ein Test." > test4.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test3> cat test4.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241016/test3>
+9 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test3> cat ../logo-hochschule-bochum.pdf > test.pdfcassini/home/peter/bo/2024ws/dbs/20241016/test3> ls -l
insgesamt 48
-rw-r--r-- 1 peter peter    14 16. Okt 13:35 test1.txt
-rw-r--r-- 1 peter peter    13 16. Okt 13:35 test2.txt
-rw-r--r-- 1 peter peter    16 16. Okt 13:35 test3.txt
-rw-r--r-- 1 peter peter    19 16. Okt 13:51 test4.txt
-rw-r--r-- 1 peter peter 31581 16. Okt 13:54 test.pdf
cassini/home/peter/bo/2024ws/dbs/20241016/test3> xpdf test.pdf
cassini/home/peter/bo/2024ws/dbs/20241016/test3>
+7 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test3> xwd > test.xwd
cassini/home/peter/bo/2024ws/dbs/20241016/test3> ls -l test.xwd
-rw-r--r-- 1 peter peter 2394163 16. Okt 13:55 test.xwd
cassini/home/peter/bo/2024ws/dbs/20241016/test3> display test.xwd
^Ccassini/home/peter/bo/2024ws/dbs/20241016/test3> convert test.xwd test.jpg
cassini/home/peter/bo/2024ws/dbs/20241016/test3> display test.jpg
cassini/home/peter/bo/2024ws/dbs/20241016/test3>
+6 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test3> echo "Dies ist ein Test." > test5.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test3> echo "Dies auch." >> test5.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test3> cat test5.txt
Dies ist ein Test.
Dies auch.
cassini/home/peter/bo/2024ws/dbs/20241016/test3>
+5 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat test.bc
2 + 2
cassini/home/peter/bo/2024ws/dbs/20241016> bc < test.bc
4
cassini/home/peter/bo/2024ws/dbs/20241016>
+3 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> echo "2 + 2" | bc
4
cassini/home/peter/bo/2024ws/dbs/20241016>
+20 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> for x in dings bumms trallala; do echo $x; done
dings
bumms
trallala
cassini/home/peter/bo/2024ws/dbs/20241016> for x in test*.txt; do echo $x; done
test*.txt
cassini/home/peter/bo/2024ws/dbs/20241016> for x in test4/*; do echo $x; done
test4/*
cassini/home/peter/bo/2024ws/dbs/20241016> for x in test4/* ; do echo $x; done
test4/*
cassini/home/peter/bo/2024ws/dbs/20241016> for x in test3/* ; do echo $x; done
test3/test1.txt
test3/test2.txt
test3/test3.txt
test3/test4.txt
test3/test5.txt
test3/test.jpg
test3/test.pdf
test3/test.xwd
cassini/home/peter/bo/2024ws/dbs/20241016>

20241016/ls-root.sh

0 → 100755
+2 −0
Original line number Diff line number Diff line
#!./greeting.sh
/*

20241016/ls-root2.sh

0 → 100755
+1 −0
Original line number Diff line number Diff line
#!./greeting2.sh /*

20241016/mount-01.txt

0 → 100644
+36 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l /dev/sd*
brw-rw---- 1 root disk 8,  0  2. Okt 11:30 /dev/sda
brw-rw---- 1 root disk 8,  1  2. Okt 11:30 /dev/sda1
brw-rw---- 1 root disk 8,  2  2. Okt 11:30 /dev/sda2
brw-rw---- 1 root disk 8,  5  2. Okt 11:30 /dev/sda5
brw-rw---- 1 root disk 8, 16 16. Okt 12:40 /dev/sdb
brw-rw---- 1 root disk 8, 17 16. Okt 12:40 /dev/sdb1
brw-rw---- 1 root disk 8, 32 16. Okt 12:41 /dev/sdc
brw-rw---- 1 root disk 8, 33 16. Okt 12:41 /dev/sdc1
brw-rw---- 1 root disk 8, 48 16. Okt 12:41 /dev/sdd
brw-rw---- 1 root disk 8, 49 16. Okt 12:41 /dev/sdd1
cassini/home/peter/bo/2024ws/dbs/20241016> lsblk
NAME                     MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda                        8:0    0 465,8G  0 disk
├─sda1                     8:1    0   487M  0 part  /boot
├─sda2                     8:2    0     1K  0 part
└─sda5                     8:5    0 465,3G  0 part
  └─sda5_crypt           254:0    0 465,3G  0 crypt
    ├─cassini--vg-root   254:1    0 464,3G  0 lvm   /
    └─cassini--vg-swap_1 254:2    0   980M  0 lvm   [SWAP]
sdb                        8:16   1   3,9G  0 disk
└─sdb1                     8:17   1   3,9G  0 part
cassini/home/peter/bo/2024ws/dbs/20241016> mount /dev/sdb1
cassini/home/peter/bo/2024ws/dbs/20241016> lsblk
NAME                     MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda                        8:0    0 465,8G  0 disk
├─sda1                     8:1    0   487M  0 part  /boot
├─sda2                     8:2    0     1K  0 part
└─sda5                     8:5    0 465,3G  0 part
  └─sda5_crypt           254:0    0 465,3G  0 crypt
    ├─cassini--vg-root   254:1    0 464,3G  0 lvm   /
    └─cassini--vg-swap_1 254:2    0   980M  0 lvm   [SWAP]
sdb                        8:16   1   3,9G  0 disk
└─sdb1                     8:17   1   3,9G  0 part  /media/usb1
cassini/home/peter/bo/2024ws/dbs/20241016> umount /media/usb1
cassini/home/peter/bo/2024ws/dbs/20241016>

20241016/pgscript.sty

0 → 120000
+1 −0
Original line number Diff line number Diff line
../common/pgscript.sty
 No newline at end of file

20241016/pgslides.sty

0 → 120000
+1 −0
Original line number Diff line number Diff line
../common/pgslides.sty
 No newline at end of file
+12 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat > hallo.sh
echo "Hallo, Welt!"
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo.sh
-rw-r--r-- 1 peter peter 20 16. Okt 11:42 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> chmod 750 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo.sh
-rwxr-x--- 1 peter peter 20 16. Okt 11:42 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> hallo.sh
bash: hallo.sh: Kommando nicht gefunden.
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo.sh
Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016>
+10 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo.sh
Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo.sh
-rwxr-x--- 1 peter peter 20 16. Okt 11:42 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> chmod 100 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo.sh
---x------ 1 peter peter 20 16. Okt 11:42 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo.sh
/bin/bash: ./hallo.sh: Keine Berechtigung
cassini/home/peter/bo/2024ws/dbs/20241016>
+16 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> sudo cp hallo.sh hallo2.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo2.sh
-rwxr-x--- 1 root root 20 16. Okt 11:46 hallo2.sh
cassini/home/peter/bo/2024ws/dbs/20241016> chmod 640 hallo2.sh
chmod: Beim Setzen der Zugriffsrechte für 'hallo2.sh': Die Operation ist nicht erlaubt
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo2.sh
-rwxr-x--- 1 root root 20 16. Okt 11:46 hallo2.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo2.sh
bash: ./hallo2.sh: Keine Berechtigung
cassini/home/peter/bo/2024ws/dbs/20241016> cp -pi hallo2.sh hallo3.sh
cp: 'hallo2.sh' kann nicht zum Lesen geöffnet werden: Keine Berechtigung
cassini/home/peter/bo/2024ws/dbs/20241016> rm hallo2.sh
rm: reguläre Datei (schreibgeschützt) 'hallo2.sh' entfernen? y
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo2.sh
ls: Zugriff auf 'hallo2.sh' nicht möglich: Datei oder Verzeichnis nicht gefunden
cassini/home/peter/bo/2024ws/dbs/20241016>
+7 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat hallo.sh
echo "Hallo, Welt!"
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo.sh
-rwxr-x--- 1 peter peter 20 16. Okt 11:42 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo.sh
Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016>
+42 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat hallo3.sh
#!/bin/bash

echo "Hallo, Welt!"
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo.sh
Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016> bc
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
2 + 2
4
2^64
18446744073709551616
2^4096
10443888814131525066917527107166243825799642490473837803842334832839\
53907971557456848826811934997558340890106714439262837987573438185793\
60726323608785136527794595697654370999834036159013438371831442807001\
18559462263763188393977127456723346843445866174968079087058037040712\
84048740118609114467977783598029006686938976881787785946905630190260\
94059957945343282346930302669644305902501597239986771421554169383555\
98852914863182379144344967340878118726394964751001890413490084170616\
75093668333850551032972088269550769983616369411933015213796825837188\
09183365675122131849284636812555022599830041234478486259567449219461\
70238065059132456108257318353800876086221028342701976982023131690176\
78006675195485079921636419370285375124784014907159135459982790513399\
61155179427110683113409058427288427979155484978295432353451706522326\
90613949059876930021229633956877828789484406160074129456749198230505\
71642377154816321380631045902916136926708342856440730447899971901781\
46576347322385026725305989979599609079946920177462481771844986745565\
92501783290704731194331655508075682218465717463732968849128195203174\
57002440926616910874148385078411929804522981857338977648103126085903\
00130241346718972667321649151113160292078173803343609024380470834040\
3154190336
1/9
0
scale=42
1/9
.111111111111111111111111111111111111111111

cassini/home/peter/bo/2024ws/dbs/20241016>
+18 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat calculate1.bc
#!/usr/bin/bc

2 + 2
cassini/home/peter/bo/2024ws/dbs/20241016> chmod +x calculate1.bc
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l calculate1.bc
-rwxr-xr-x 1 peter peter 21 16. Okt 11:56 calculate1.bc
cassini/home/peter/bo/2024ws/dbs/20241016> ./calculate1.bc
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
4
Hallo?
(standard_in) 1: syntax error
(standard_in) 1: illegal character: ?
quit
cassini/home/peter/bo/2024ws/dbs/20241016>
+12 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat calculate2.bc
#!/usr/bin/bc

2 + 2
quit
cassini/home/peter/bo/2024ws/dbs/20241016> ./calculate2.bc
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
4
cassini/home/peter/bo/2024ws/dbs/20241016>
+13 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat greeting.sh
#!/bin/bash

read name
echo Hallo $name
cassini/home/peter/bo/2024ws/dbs/20241016> chmod +x greeting.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ./greeting.sh
Peter
Hallo Peter
cassini/home/peter/bo/2024ws/dbs/20241016> ./greeting.sh
/*
Hallo /bin /boot /dev /etc /home /initrd.img /initrd.img.old /lib /lib32 /lib64 /libx32 /lost+found /media /mnt /opt /proc /root /run /sbin /srv /swapfile /sys /tmp /usr /var /vmlinuz /vmlinuz.old
cassini/home/peter/bo/2024ws/dbs/20241016>
+8 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat ls-root.sh
#!./greeting.sh
/*
cassini/home/peter/bo/2024ws/dbs/20241016> chmod +x ls-root.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ./ls-root.sh
Hallo?
Hallo Hallo?
cassini/home/peter/bo/2024ws/dbs/20241016>
+9 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat greeting2.sh
#!/bin/bash

echo Hallo $1
cassini/home/peter/bo/2024ws/dbs/20241016> cat ls-root2.sh
#!./greeting2.sh /*
cassini/home/peter/bo/2024ws/dbs/20241016> ./ls-root2.sh
Hallo /bin /boot /dev /etc /home /initrd.img /initrd.img.old /lib /lib32 /lib64 /libx32 /lost+found /media /mnt /opt /proc /root /run /sbin /srv /swapfile /sys /tmp /usr /var /vmlinuz /vmlinuz.old
cassini/home/peter/bo/2024ws/dbs/20241016>
+9 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> which python3
/usr/bin/python3
cassini/home/peter/bo/2024ws/dbs/20241016> python3
Python 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print (3.14 * 2)
6.28
>>>
cassini/home/peter/bo/2024ws/dbs/20241016>
+8 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> cat calculate3.py
#!/usr/bin/python3

print (3.14 * 2)
cassini/home/peter/bo/2024ws/dbs/20241016> chmod 750 calculate3.py
cassini/home/peter/bo/2024ws/dbs/20241016> ./calculate3.py
6.28
cassini/home/peter/bo/2024ws/dbs/20241016>

20241016/scripts-13.sh

0 → 100644
+22 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo.sh
-rwxr-x--- 1 peter peter 20 16. Okt 11:42 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> cat hallo.sh
echo "Hallo, Welt!"
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo.sh
Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016> chmod -x hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo.sh
-rw-r----- 1 peter peter 20 16. Okt 11:42 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo.sh
bash: ./hallo.sh: Keine Berechtigung
cassini/home/peter/bo/2024ws/dbs/20241016> chmod +x hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo.sh
-rwxr-x--x 1 peter peter 20 16. Okt 11:42 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo.sh
Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016> chmod 750 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ls -l hallo.sh
-rwxr-x--- 1 peter peter 20 16. Okt 11:42 hallo.sh
cassini/home/peter/bo/2024ws/dbs/20241016> ./hallo.sh
Hallo, Welt!
cassini/home/peter/bo/2024ws/dbs/20241016>
+33 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -l
insgesamt 4
-rw-r--r-- 1 peter peter 19 16. Okt 12:51 test-01.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cp -pi test-01.txt test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19 16. Okt 12:51 test-01.txt
-rw-r--r-- 1 peter peter 19 16. Okt 12:51 test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-01.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241016/test> ln -s test-02.txt test-03.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -l
insgesamt 8
-rw-r--r-- 1 peter peter 19 16. Okt 12:51 test-01.txt
-rw-r--r-- 1 peter peter 19 16. Okt 12:51 test-02.txt
lrwxrwxrwx 1 peter peter 11 16. Okt 12:51 test-03.txt -> test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-03.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-02.txt
Dies ist ein Test.
cassini/home/peter/bo/2024ws/dbs/20241016/test> echo "Dies auch." > test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-02.txt
Dies auch.
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-03.txt
Dies auch.
cassini/home/peter/bo/2024ws/dbs/20241016/test> rm test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> cat test-03.txt
cat: test-03.txt: Datei oder Verzeichnis nicht gefunden
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -l test-03.txt
lrwxrwxrwx 1 peter peter 11 16. Okt 12:51 test-03.txt -> test-02.txt
cassini/home/peter/bo/2024ws/dbs/20241016/test> ls -l test-02.txt
ls: Zugriff auf 'test-02.txt' nicht möglich: Datei oder Verzeichnis nicht gefunden
cassini/home/peter/bo/2024ws/dbs/20241016/test>
+9 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> ln -s test test2
cassini/home/peter/bo/2024ws/dbs/20241016> ls -dl test*
drwxr-xr-x 2 peter peter 4096 16. Okt 12:53 test
lrwxrwxrwx 1 peter peter    4 16. Okt 12:54 test2 -> test
cassini/home/peter/bo/2024ws/dbs/20241016> ls test2/
test-01.txt  test-03.txt
cassini/home/peter/bo/2024ws/dbs/20241016> ls test2
test-01.txt  test-03.txt
cassini/home/peter/bo/2024ws/dbs/20241016>
+8 −0
Original line number Diff line number Diff line
cassini/home/peter/bo/2024ws/dbs/20241016> ls -dl test*
drwxr-xr-x 2 peter peter 4096 16. Okt 12:53 test
lrwxrwxrwx 1 peter peter    4 16. Okt 12:54 test2 -> test
cassini/home/peter/bo/2024ws/dbs/20241016> chmod 750 test2
cassini/home/peter/bo/2024ws/dbs/20241016> ls -dl test*
drwxr-x--- 2 peter peter 4096 16. Okt 12:53 test
lrwxrwxrwx 1 peter peter    4 16. Okt 12:54 test2 -> test
cassini/home/peter/bo/2024ws/dbs/20241016>
+9 −0

File added.

Preview size limit exceeded, changes collapsed.

+13 −0

File added.

Preview size limit exceeded, changes collapsed.

20241016/test.bc

0 → 100644
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241016/test2

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/fehler.txt

0 → 100644
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/find-01.txt

0 → 100644
+16 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/find-02.txt

0 → 100644
+5 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/if-01.txt

0 → 100644
+13 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/jobs-01.txt

0 → 100644
+51 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/pipes-01.txt

0 → 100644
+11 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/pipes-02.txt

0 → 100644
+9 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/rename.sh

0 → 100755
+7 −0

File added.

Preview size limit exceeded, changes collapsed.

+31 −0

File added.

Preview size limit exceeded, changes collapsed.

+14 −0

File added.

Preview size limit exceeded, changes collapsed.

+34 −0

File added.

Preview size limit exceeded, changes collapsed.

+11 −0

File added.

Preview size limit exceeded, changes collapsed.

+17 −0

File added.

Preview size limit exceeded, changes collapsed.

+21 −0

File added.

Preview size limit exceeded, changes collapsed.

+7 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/sed-01.txt

0 → 100644
+5 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/seq-01.txt

0 → 100644
+50 −0

File added.

Preview size limit exceeded, changes collapsed.

+7 −0

File added.

Preview size limit exceeded, changes collapsed.

+9 −0

File added.

Preview size limit exceeded, changes collapsed.

+12 −0

File added.

Preview size limit exceeded, changes collapsed.

+27 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/tcp-ip-01.txt

0 → 100644
+45 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/tcp-ip-02.txt

0 → 100644
+29 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/tcp-ip-03.txt

0 → 100644
+3 −0

File added.

Preview size limit exceeded, changes collapsed.

+7 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/tcp-ip-04.txt

0 → 100644
+30 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/tcp-ip-05.txt

0 → 100644
+10 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/test.c

0 → 100755
+9 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/test.jpg

0 → 100755
+4 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/test.txt

0 → 100644
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241030/test2.c

0 → 100755
+14 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241106/aufgabe-1.sh

0 → 100755
+5 −0

File added.

Preview size limit exceeded, changes collapsed.

20241106/nc-01.txt

0 → 100644
+19 −0

File added.

Preview size limit exceeded, changes collapsed.

20241106/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241106/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241106/test-01.mail

0 → 100644
+59 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241113/aufgabe-2.c

0 → 100644
+13 −0

File added.

Preview size limit exceeded, changes collapsed.

20241113/ipv6-01.txt

0 → 100644
+32 −0

File added.

Preview size limit exceeded, changes collapsed.

20241113/kitten.jpg

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241113/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241113/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241113/tcp-01.txt

0 → 100644
+16 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241120/dns-01.txt

0 → 100644
+26 −0

File added.

Preview size limit exceeded, changes collapsed.

20241120/dns-02.txt

0 → 100644
+4 −0

File added.

Preview size limit exceeded, changes collapsed.

20241120/http-01.txt

0 → 100644
+18 −0

File added.

Preview size limit exceeded, changes collapsed.

20241120/http-02.txt

0 → 100644
+12 −0

File added.

Preview size limit exceeded, changes collapsed.

+21 −0

File added.

Preview size limit exceeded, changes collapsed.

+3 −0

File added.

Preview size limit exceeded, changes collapsed.

+22 −0

File added.

Preview size limit exceeded, changes collapsed.

+19 −0

File added.

Preview size limit exceeded, changes collapsed.

+13 −0

File added.

Preview size limit exceeded, changes collapsed.

+14 −0

File added.

Preview size limit exceeded, changes collapsed.

+11 −0

File added.

Preview size limit exceeded, changes collapsed.

+24 −0

File added.

Preview size limit exceeded, changes collapsed.

+17 −0

File added.

Preview size limit exceeded, changes collapsed.

+7 −0

File added.

Preview size limit exceeded, changes collapsed.

20241120/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241120/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241120/ssh-01.txt

0 → 100644
+106 −0

File added.

Preview size limit exceeded, changes collapsed.

20241120/ssh-02.txt

0 → 100644
+25 −0

File added.

Preview size limit exceeded, changes collapsed.

20241120/ssh-03.txt

0 → 100644
+5 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241127/dbms-01.txt

0 → 100644
+257 −0

File added.

Preview size limit exceeded, changes collapsed.

20241127/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241127/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241127/proxy-01.txt

0 → 100644
+8 −0

File added.

Preview size limit exceeded, changes collapsed.

20241127/sql-01.txt

0 → 100644
+74 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/dbms-02.txt

0 → 100644
+23 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/dbms-03.txt

0 → 100644
+414 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/sql-02.txt

0 → 100644
+60 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/sql-03.txt

0 → 100644
+40 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/sql-04.txt

0 → 100644
+48 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/sql-05.txt

0 → 100644
+52 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/sql-06.txt

0 → 100644
+27 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/sql-07.txt

0 → 100644
+45 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/sql-08.txt

0 → 100644
+184 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/sql-09.txt

0 → 100644
+3 −0

File added.

Preview size limit exceeded, changes collapsed.

20241204/sql-10.txt

0 → 100644
+6 −0

File added.

Preview size limit exceeded, changes collapsed.

+182 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/aufgabe-1.txt

0 → 100644
+75 −0

File added.

Preview size limit exceeded, changes collapsed.

+82 −0

File added.

Preview size limit exceeded, changes collapsed.

+8 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/index-01.txt

0 → 100644
+52 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/pkey-01.txt

0 → 100644
+90 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/pkey-02.txt

0 → 100644
+33 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/pkey-03.txt

0 → 100644
+50 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/pkey-04.txt

0 → 100644
+27 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/pkey-05.txt

0 → 100644
+11 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/pkey-06.txt

0 → 100644
+115 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/pkey-07.txt

0 → 100644
+41 −0

File added.

Preview size limit exceeded, changes collapsed.

20241211/qr

0 → 100755
+13 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+58 −0

File added.

Preview size limit exceeded, changes collapsed.

20241218/joins-00.txt

0 → 100644
+80 −0

File added.

Preview size limit exceeded, changes collapsed.

20241218/joins-01.txt

0 → 100644
+51 −0

File added.

Preview size limit exceeded, changes collapsed.

20241218/joins-02.txt

0 → 100644
+70 −0

File added.

Preview size limit exceeded, changes collapsed.

20241218/joins-03.txt

0 → 100644
+78 −0

File added.

Preview size limit exceeded, changes collapsed.

20241218/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20241218/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+90 −0

File added.

Preview size limit exceeded, changes collapsed.

20241218/pult-01.txt

0 → 100644
+26 −0

File added.

Preview size limit exceeded, changes collapsed.

20241218/views-01.txt

0 → 100644
+69 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/bank-01.txt

0 → 100644
+12 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/bank-02.txt

0 → 100644
+54 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/bank-03.txt

0 → 100644
+26 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/bank-04.txt

0 → 100644
+33 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/bank-05.txt

0 → 100644
+33 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/bank-06.txt

0 → 100644
+38 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/bank-07.txt

0 → 100644
+36 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/cs2-pg.c

0 → 100644
+92 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/cs2.pl

0 → 100755
+5 −0

File added.

Preview size limit exceeded, changes collapsed.

+1067 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/index-00.html

0 → 100644
+7 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/loesung-2.c

0 → 100644
+31 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+10 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/school-01.php

0 → 100644
+47 −0

File added.

Preview size limit exceeded, changes collapsed.

+10 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/school-02.php

0 → 100644
+47 −0

File added.

Preview size limit exceeded, changes collapsed.

+10 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/school-03.php

0 → 100644
+52 −0

File added.

Preview size limit exceeded, changes collapsed.

+10 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/school-04.php

0 → 100644
+52 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/tiere-01.php

0 → 100644
+32 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/tiere-02.php

0 → 100644
+34 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/tiere-03.php

0 → 100644
+30 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/tiere-04.php

0 → 100644
+29 −0

File added.

Preview size limit exceeded, changes collapsed.

20250108/tiere-05.php

0 → 100644
+30 −0

File added.

Preview size limit exceeded, changes collapsed.

+5 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20250115/hashes-01.txt

0 → 100644
+18 −0

File added.

Preview size limit exceeded, changes collapsed.

20250115/hashes-02.txt

0 → 100644
+7 −0

File added.

Preview size limit exceeded, changes collapsed.

20250115/pgscript.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20250115/pgslides.sty

0 → 120000
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

20250115/rot13-01.txt

0 → 100644
+5 −0

File added.

Preview size limit exceeded, changes collapsed.

+26 −1

File changed.

Preview size limit exceeded, changes collapsed.

common/BSD-MODIFIED

0 → 100644
+29 −0

File added.

Preview size limit exceeded, changes collapsed.

common/CC-BY-SA-3.0

0 → 100644
+418 −0

File added.

Preview size limit exceeded, changes collapsed.

common/GNU-GPL-3

0 → 100644
+674 −0

File added.

Preview size limit exceeded, changes collapsed.

File changed.

Preview size limit exceeded, changes collapsed.

File changed.

Preview size limit exceeded, changes collapsed.

+21 −0

File changed.

Preview size limit exceeded, changes collapsed.

+3 −0

File changed.

Preview size limit exceeded, changes collapsed.