Pular para o conteúdo

util.dev.br

Utilities for Developers

  • Tools
  • Library
  • Contact

until command

Executes a block of commands until a condition is true.
Example:

i=0
until [ $i -ge 5 ]
of
echo “Number: $i”
i=$((i+1))
done

Autor jgouveaPublicado em 25 de fevereiro de 202325 de fevereiro de 2023Categorias Flow commands

Navegação de Post

Anteriores Post anterior: while command
Próximo Próximo post: for command
  • Bash shell
  • Debugging
  • File Processing
  • Flow commands
  • Functions
  • Process Management
  • Regular Expressions
  • String Manipulation
  • Variables and Operators
util.dev.br Developed by util.dev.br - © 2025 - All rights reserved