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)
HomeSecExplorer/Proxmox-Hardening-Guide: Security hardening guides for PVE and PBS, built on CIS Debian Benchmark with Proxmox specific best practices.
HomeSecExplorer/Proxmox-Hardening-Guide: Security hardening guides for PVE and PBS, built on CIS Debian Benchmark with Proxmox specific best...
-
How To Use IBM Data Shift · IBM/mac-ibm-migration-tool Wiki
-
Networking Fundamentals: (01) Understanding Local Area Networking | Networking Fundamentals | Channel 9
-
Speed Up Apple Mail with a Database-Cleaning Automator Task
No comments:
Post a Comment