#!/bin/bash var=1 while [[ var -eq 1 ]] do echo "Texte" sleep 2 if [ ! -e GO ] then var=0 fi done