Page 1 of 1

Make bash script to turn on off light

Posted: Saturday 23 February 2019 10:31
by VHK17
How to make a script that turns a light on, wait 1 second, turn the light off.
And repeats this 3 times

Code: Select all

#!/bin/bash
for run in {1..3}
do     ...........
done
exit