This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
These are some of the useful Bash aliases/functions which I use most days. Repeat repeat <count|inf> <command> [args...] Run a command n times. If the command fails, give up. n can be a number or inf to repeat forever. If the command fails more than n times, the commands' exit code is returned. repeat () { if [ "$#" -lt 2 ]; then echo "Usage: repeat <count|inf> <command> [args...]" return 1 fi…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.