1
User
Recs.
Recs.
11
Updates
Last
Updated
Updated
Activity
4 Options
Specs
Specs are quantitative aspects of the option such as the price
Pros
Pro Rich scripting capabilities on a single line
Want to run something 5 times? Write a throw-away loop: for i in 1 2 3 4 5; do date; done
If you need it 100 times? Not a problem: for i in {1..100}; do date; done
or: for ((i=0; i<100; ++i)); do date; done
How about emailing yourself when remote server is back online? Sure thing: while ! ping -c1 example.com &>/dev/null; do date; sleep 5; done && mailx -s 'server is back!' me@myself.com
Know any positive aspects of this option?
Cons
Know any negative aspects of this option?
Recommendations
bash
Recommended 4 years ago
Pro
Default shell on most systemsPro
Plenty of examples and tutorialsPro
Rich scripting capabilities on a single linePro
POSIX compatiblePro
Recursive globbingPro
Rich scripting capabilitiesPro
Variables and aliases are listed the way they are builtCon
Lags behind on features compared to ZSH and FishCon
No out-of-the-box command autocompletion