|
|
Вилењак — Des Admins kleiner Helfer Eine Sammlung von Shell-Skripten und Konfigurationsbeispielen für POSIX-Systeme |
|
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.
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.
- fx
- find and execute
- ffx
- find file and execute
- fdx
- find directory and execute
- flx
- find link and execute
- lox
- locate and execute
- rlox
- locate relative to current directory and execute
/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.
/usr/bin/at will read commands from standard input only. Like batch above this wrapper accepts command line arguments and is also less verbose.
waitfor will wait until none of the named programs is running anymore.