English
Nederlands
Deutsch
Српски
Русский
Вилењак — Админ мали помагач
Колекција скрипти и конфигурационих примера за ПОСИКС системе

Unfinished task!

1. This Site is under construction

As of 2014-09-28 this site will slowly be populated with a selection of small scripts I have written over the years.

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. Search utilities

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 ⇒ ls -m
Separate entries with commas
ll ⇒ ls -lL
Long list including access rights, file size and timestamp
la ⇒ ls -la
List all, including hidden files
lsf ⇒ ls -F
Append indicator for directories (/), links (@), ...
lsr ⇒ ls -R
List recursive
lsx ⇒ ls -x
List entries by lines instead of by columns
ltr ⇒ ls -lLtr
List by (modification) timestamp, oldest first
lsw
Like ll but only show file size, time stamp and file name. Useful when monitoring downloads with watch -d lsw.

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!