Article 4T8AG conditions with if else statement

conditions with if else statement

by
malinl87
from LinuxQuestions.org on (#4T8AG)
Hi, I have just started to use Linux and I am trying to write an if else statememt. the conditon I want to use is if the input from the user contains any number it will say one thing and if it does not contain any number it will say something else. The issue I have is that I do no know how to write a command that detects if any numbers are used. Is there anyone that can help me with that?latest?d=yIl2AUoC8zA latest?i=rs8LadDfig8:lkppwLnXvec:F7zBnMy latest?i=rs8LadDfig8:lkppwLnXvec:V_sGLiP latest?d=qj6IDK7rITs latest?i=rs8LadDfig8:lkppwLnXvec:gIN9vFwrs8LadDfig8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments