Open a dialog to prompt for a specific password and print it to stdout

kdialog

  • Show KDE dialog boxes from within shell scripts.
    More information: <https://develop.kde.org/deploy/kdialog/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

kdialog --password "{{message}}"

click the source code to copy install kdialog on any operating system with command-not-found.com