- Forums
- Bash Scripts
- Bash Script Force User To Enter Input In Read Required Field
This Page Contains information about Bash Script Force User To Enter Input In Read Required Field By dd in category Bash Scripts with 0 Replies. [5124], Last Updated: Fri Jun 02, 2023
dd
Thu May 18, 2023
0 Comments
25 Visits
this is an example bash snippet to force users to enter information in read input command terminal:
APP_NAME=""
while [[ $APP_NAME == "" ]]
do
read -p "Enter the name of the Application: " APP_NAME
set -e
done