until
Until в bash
#!/bin/bash counter=0 until [ $counter -gt 5 ]do echo Counter: $counter ((counter++)) done
Пример петлевого ожидания
#!/bin/bash until git pull &> /dev/null do echo "Waiting for the git host ..." sleep 1 done echo -e "\nThe git repository is pulled."
From here you can search these documents. Enter your search terms below.