I am new to bash, do not understand the language.
I want a simple script to cycle through an iteration, increment of 1.
In plain English, the algorithm would be:
execute command adb tcpip 5037
echo result
until following command is true...
let x = 01
do adb connect 192.168.0.1x:5037
if false, let x = x + 1
else end do
echo true result
execute command scrcpy
I need to write this in bash language.
Thanks.
Top comments (0)