shell_progammierung
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| shell_progammierung [2010/09/08 11:56] – michael | shell_progammierung [2021/04/24 07:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| | Sonderzeichen ersetzen| Sonderzeichen wie *, ?, [] werden ersetzt. Ausser Sie stehen in "" | | Sonderzeichen ersetzen| Sonderzeichen wie *, ?, [] werden ersetzt. Ausser Sie stehen in "" | ||
| | Fertiges Kommando ausführen | | | | Fertiges Kommando ausführen | | | ||
| + | |||
| + | ==== AWK ==== | ||
| + | |||
| + | |FS|Separator| | ||
| + | |RS|Record Sepatator. Normally Linbreak (\n)| | ||
| + | |NF|Number of Fields in a Record| | ||
| + | |NR|Number of active Record| | ||
| + | |ARGV|Array of all awk parameters| | ||
| + | |ARGC|number of all awk parameters| | ||
| + | |OFS|Output field separator| | ||
| + | |ORS|Output record separator| | ||
| + | |||
| + | |||
| + | awk ' | ||
| + | df -hk | egrep " | ||
| + | df -hk | awk '/ | ||
| + | df -hk | awk ' | ||
| ==== Commandos ==== | ==== Commandos ==== | ||
| Line 99: | Line 116: | ||
| | | ||
| done | done | ||
| + | |||
| + | ==== WHILE lines in file ==== | ||
| + | |||
| + | while read i; do | ||
| + | echo $i | ||
| + | done < list.txt | ||
shell_progammierung.1283946999.txt.gz · Last modified: 2021/04/24 07:38 (external edit)
