Bash+scripting
Bash+scripting
Bash+scripting
Flow me :
Security test Group on Facebook:
https://www.facebook.com/groups/155349421484222/
On YouTube
https://www.youtube.com/channel/UCpis91Zi0N-CGjqjFXuRt4w
On twitter
https://twitter.com/abdallahelsoka1
comment
number1=15
number2=16
echo $(($number1+$number2))
echo `expr $number1+$number2`
#!/bin/bash
#!/bin/bash
array_name=(value1 space value2)
${array_name[index]}
array_name[0]= »value«
a=0
while [ $a -lt 10 ]
do
echo $a
a=`expr $a + 1`
done
#!/bin/bash
a=0
until [ ! $a -lt 10 ] do
echo $a
a=`expr $a + 1`
done
#!/bin/bash
#!/bin/bash
#!/bin/bash
case $DRINK in tea|cofee|water|all)
echo "Go to canteen" ;;
juice|appe)
echo "Available at home" ;; none)
break ;; *)
echo "ERROR: Invalid selection" ;; esac
#!/bin/bash
Break
Break number
------------------
continue