Циклы bash в одну строку
while
while true; do ls; sleep 2; done
for
for i in 1 2 3; do mkdir ${i}; done
if
if [ "${asd}" = "true" ]; then echo "hellow world"; fi
while
while true; do ls; sleep 2; done
for
for i in 1 2 3; do mkdir ${i}; done
if
if [ "${asd}" = "true" ]; then echo "hellow world"; fi