Use the -entry option to create a text entry dialog.  returns the contents of the text entry to standard error.
The text entry dialog supports the following options:
--text=textSpecifies the text that is displayed in the text entry dialog.--entry-text=textSpecifies the text that is displayed in the entry field of the text entry dialog.--hide-textHides the text in the entry field of the text entry dialog.
The following example script shows how to create a text entry dialog:
#!/bin/sh
if zenity --entry \
--title="Add an Entry" \
--text="Enter your _password:" \
--entry-text "password" \
--hide-text
then echo $?
else echo "No password entered"
fi
text entry dialog example
