English
Nederlands
Deutsch
Српски
Русский
Вилењак — Des Admins kleiner Helfer
Eine Sammlung von Shell-Skripten und Konfigurationsbeispielen für POSIX-Systeme

Baustelle!

1. Diese Website ist im Aufbau

Ab 2014-09-28 wird auf diesen Seiten eine Auswahl von kleinen Shell-Skripten und Konfigurationsbeispielen eingestellt. Anfangs haben die englischsprachigen Seiten Vorrang.

2014-10-06: Provided first test downloads with description stubs to try out different layouts
2014-10-10: Experimenting to find a good way to handle translations consistently.

2. Suchwerkzeuge

2.1. l, ll, la, lsf, lsr, lsx, ltr, lsw – List files

ls used to turn on often used options if called as e.g. l, ll or la. Implemented as scripts because aliases will only work for interactive shells, but not for scripts or in combination with e.g. xargs or nice.
Time stamps will be shown in long ISO format (YYYY-MM-DD hh:mm:ss).

l (short list) ⇒ ls -m
Kommaseparierte Einträge
ll (long list) ⇒ ls -lL
Langformat mit Zugriffsrechten, Dateigröße und Zeitstempel
la (list all) ⇒ ls -la
Auflistung aller Dateien – einschließlich der verborgenen
lsf (list with file type) ⇒ ls -F
Kennzeichnet Dateien als Verzeichnisse (/), Softlinks (@), ...
lsr (list recursive) ⇒ ls -R
Rekursive Darstellung des Verzeichnisbaums
lsx (list across) ⇒ ls -x
Dateien werden nicht spaltenweise sondern zeilenweise sortiert
ltr (list time reversed) ⇒ ls -lLtr
Absteigende Sortierung nach (Modifikations-)Zeit
lsw (list to watch)
Kompakte Variante von ll die nur Dateigröße, Zeitstempel und Dateinamen anzeigt. Besonders nützlich, um Kopiervorgänge per watch -d lsw zu űberwachen.

2.2. fx, ffx, fdx, flx – Find and Execute

WIP!

fx
find and execute
ffx
find file and execute
fdx
find directory and execute
flx
find link and execute

2.3. lox, rlox – Locate and Execute

WIP!

lox
locate and execute
rlox
locate relative to current directory and execute

3. Delayed execution

3.1. batch – execute when load levels permit

/usr/bin/batch will read commands from standard input only. This small wrapper will accept command line arguments like nice or nohup do. It is also silent if successful. The usual 'executed with /bin/sh' warning and the job number will be suppressed.

3.2. at – execute at a specified time

/usr/bin/at will read commands from standard input only. Like batch above this wrapper accepts command line arguments and is also less verbose.

3.3. WIP!downloads/scripts/waitfor

WIP! waitfor will wait until none of the named programs is running anymore.

3.4. WIP!downloads/scripts/ok

WIP!

4. Data formatting

4.1. gw – control break

WIP!

4.2. WIP!adjust – align tab-separated data

WIP!