Repeat a command until it succeeds in Linux using While loop

Publicado el: 19 mayo 2020
en el canal de: Senthilkumar Palani
180
2

This command will keep trying to ping ostechnix.com site. Once the site comes online, the While loop will end and display the "xcalc" program.

Command:

$ while ! ping -c 3 ostechnix.com ; do sleep 2 ; done ; xcalc

Link - https://www.ostechnix.com/how-to-repe...


En esta página del sitio puede ver el video en línea Repeat a command until it succeeds in Linux using While loop de Duración hora minuto segunda en buena calidad , que subió el usuario Senthilkumar Palani 19 mayo 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 180 veces y le gustó 2 a los espectadores. Disfruta viendo!