I'm doing a basic script that asks the user some details about him/her. The fact is that I want to put the condition if the user doesn't put an age (number) the script warns with a message. I know there was somehow putting something like :
if [ $age != [0-9] ]
But it's not working whatsoever.
Any suggestion?
Ty.