keep trying a command until it is successful Using echo, sleep: until YOURCOMMAND; do echo \"Retrying\"; sleep 2; done - (keep trying a command until it is successful Keep retrying YOURCOMMAND until it succeeds. Add sleep between retries so that +c works. (Though you can always use +z and kill %1).
Source: http://stackoverflow.com/a/5274386/2175968). The best command line collection on the internet, submit yours and save your favorites.
Subscribe to:
Post Comments (Atom)
greebo-labs/rc4-readiness-dashboard: Browser based dashboard that show data relating to RC4 readiness.
greebo-labs/rc4-readiness-dashboard: Browser based dashboard that show data relating to RC4 readiness.
-
asankaSovis/Beowulf-Cluster-Setup-Tutorial: 🖥️ A Beowulf cluster is a type of High-Performance Computing (HPC) cluster that is designed to ...
-
LabGopher :: Great server deals on eBay
-
macOS 26.4 Tahoe: 100% reproducible kernel panic on SMB connect (CVE-2026-28835 fix incomplete?) : r/macsysadmin
No comments:
Post a Comment