Bash: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 March 2024

  • curprev 13:0413:04, 23 March 2024Polya talk contribs 7,477 bytes +7,477 Created page with "==== Базовые конструкции ==== В написании скрипта можно использовать следующие конструкции: if while for . {| class="wikitable" |If Базовый синтаксис: |While |For |Case |- | <source lang="bash"> if [ условие ] ; then echo "Hello" fi </source> | <source lang="bash">while [ условие ] do echo "Hello" done</source> | <source lang="bash"> for var in value1 value2 ......"