逐行计算文件中字符串的md5

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
cat ./1.txt | while read num ; do echo -n $num | md5sum | cut -f1 -d' '; done
cat ./1.txt | while read num ; do echo -n $num | md5sum | cut -f1 -d' '; done
cat ./1.txt | while read num ; do echo -n $num | md5sum | cut -f1 -d' '; done

 

Leave a Reply

Your email address will not be published. Required fields are marked *