July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.
#!/bin/bash result="FALSE" while [ $result = "FALSE" ] do echo -n "Enter day(mm/dd/yyyy): " read datetime if date --date="$datetime" >/dev/null then result="TRUE" else result="FALSE" fi done
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.