Beraktam egy scriptbe.
Azt lehet valahogy automatizálni, hogy a kimeneti file név a bemenet-ből készüljön?
input: most_common
output: most_common_md5
#!/bin/bash
# Date: 2017.11.24
# Author: freeroute
# Purpose: create md5 hashlist dictionary
# Created: 2017.11.24.
# Modified: 2017.11.24
# Important! file formátumot ellenorizni. ASCII kell, CRLF line terminators has to be removed
# sed -E 's/\r//g' most_common.txt >most_common_clean.txt
DICTIONARY=most_common.txt
for i in $(cat $DICTIONARY)
do echo -n "$i"| md5sum | tr -d " -" >> most_common_md5.txt
done
#END