We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Getting started with conditionals
Getting started with conditionals
Sort by
recency
|
340 Discussions
|
Please Login in order to post a comment
read input
if [[ $input =~ [Yy] ]]; then echo "YES" else echo "NO" fi
Practice using real-life examples to grasp how conditionals influence behavior in different scenarios. Gold 365.site
read -p "Ingresa Y/N: " c
if [[ ]]; then echo "NO"s else echo "YES" fi