grep -i <password> 10-million-combos.txt
export HISTCONTROL=ignorespace grep -i <password> 10-million-combos.txt
I don't know a shorter way, but to delete one line from history, do 'history', which shows the line numbers, then 'history -d LINE_NUM'.
Or, in bash, prepend the command with a space and it won't go into history.
Don't put sensitive stuff in CLI args!
grep -f - 10-million-combos.txt <password> ^D^D
edit: Looks like vacri mentioned this in a peer comment an hour ago. Whoops!