Цикл while Bash
Пример цикла while
#!/bin/bash
i=0
while [ $i -le 3 ]
do
echo "i= "
echo $i
(( i++ ))
done
| Bash | |
| Bash Scripting | |
| -eq -gt …: Comparison operators | |
| if else: Conditional operators | |
| date | |
| Newline | |
| Arithmetic operations | |
| Pass a file or password over SFTP in a Bash script | |
| Errors Bash |
Article author: Andrei Olegovich