Answers for "while read line bash if else"

7

bash if then else one line

if [[ CONDITION_STATEMENT ]]; then SOME_CODE; else OTHER_CODE; fi
Posted by: Guest on November-03-2020
1

bash while read line loop from variable

while read -r line
do
 echo "line=[$line]"
done < <(cat jj)
Posted by: Guest on March-05-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language