view · edit · sidebar · attach · print · history

6.2.2019

  • Merge two files if a pattern matches
 awk 'NR==FNR{a[$1]; next} {for (i in a) if (index($0, i)) print $1,$2,$3,$4,$5}' galenik_Vollstamm.txt galenic_codes.txt

2.2.2019

  • Merge to files if first column matches
 awk 'FNR==NR{a[$1]=$2;next} ($1 in a) {print $1,a[$1],$2,$3,$4,$5,$6,$7,$8,$9,$10}' atc wido.csv

1.2.2019

  • Useful sort command:
 du -d1 -x -h / | sort -h

16.1.2019

Verzeichnis nach Jahren

view · edit · sidebar · attach · print · history
Page last modified on February 06, 2019, at 10:35 AM