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