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
|
339 Discussions
|
Please Login in order to post a comment
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
!/bin/bash
read -rN1 input [[ ${input,,} = "y" ]] && echo "YES" || echo "NO"