Bash Shell Script
Bash Shell Script
bin/#bash
>touch build.sh
comparsion operator .
string comparison
== equal to
!= not equal
\< less than
\> greater than
condition operator :
*****if statemet
#!bin/bash
x= 10
y=11
#!bin/bash
x=10
y=10
#!bin/bash
x=10
y=11
******swicth case :
FRUIT ="apple"
case "$FRUIT" in
#case 1
"orange") echo " matched with orange";;
#case 2
"mango") echo " matched with mango";;
#case3
"apple") echo "matched with apple";;
esac
loops
******while loops
#!bin/bash
x=2
while[$x -lt 6]
do
echo $x
x= 'expr $x+1'
done
*******for loop
for var in 2 4 5 6
do
#statment
done
check screen refresh issue (removing the sd card, wrong file name,)
while updating turned off key
removed can high/low wire while updating...