- 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: Mon Jun 24, 2024
dd
Thu May 18, 2023
0 Comments
324 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