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
bash_cycles.txt · Последнее изменение: Anthony
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0