mkpass creates a secure password on the command line that can be copied or redirected only the clipboard. By default, it creates a 30 character password with special symbols.
There are several options. You can control the password length and decide to include special characters or not. You can also display the characters used when creating a password.
Special Note You may need to install "rng-tools" if the app seems to hang. This is because /dev/random is blocking awaiting entropy data. See the homepage for additional information: https://github.com/frossm/mkpass
Please let me know if you have suggestions.