[command with duplicate output |] awk '!a[$0]++' [filename with duplicate values]
cat file_with_duplicate_values.txt | awk '!a[$0]++'
awk '!a[$0]++' file_with_duplicate_values.txt
<command with duplicate output> | sort | unique
cat file_with_duplicate_values.txt | sort | unique