• Log in or sign up for an account here: https://www.sythe.org/login

bash shell script help

holyev1l

Active Member

Do Not Trade
Joined
Nov 19, 2018
Sythe Gold
159
Messages
154
I need to list every string in a text file and generate the md5 hash for that string next to it on the same line.

I can turn all strings into its md5 hash value but I'm not sure how to list the original string next to it.

I've got

file="/dictionary.txt"

while read line
do
echo $line | md5sum | awk '{print $1}'
done < dicitonary.txt
 
Runescape Gamblingrunescape gambling
Back
Top