When building dictionaries for password attacks, which of the following commands demonstrates one way to ensure there aren't duplicate entries within your list?
1) mysql < | select * where X = cat | sort | uniq >
2) cat | grep -v duplicates | > cat -dup >
3) grep -v duplicates | cat -dup >
4) sort | uniq >

Q&A Education