Code: Alles auswählen
sort -T /var/somewhere/tmp/ -u passwords.txt >> newfile.txt
-u only unique lines should remain
Merge files with two values within one line each only keep the second one and also formatted in DOS format (remove ^M EOL symbol); in addtion only keep those values with >8 chars lenght
Code: Alles auswählen
cat *.txt | cut -d':' -f2 | sed -e "s/\r//g" | grep -E '^.{8,}$' >> ../passwords.txt