SyntaxFix
Write A Post
Hire A Developer
Questions
Also you can try zenity !
user=$(zenity --entry --text 'Please enter the username:') || exit 1