python script to check whether passwords have been hacked using pwned API
in bash terminal run: $ python3 checkmypass.py PASSWORD1 PASSWORD2
response will return the number of times that password has been leaked.
For security, clear your plaintext passwords from your terminal's browser after running the command, with: $ history -c