What I learned from others shell scripts
发表于 : 2013-08-21 21:52
I am big fan of shell scripts and so love to learn interesting stuff from other's shell scripts. Recently i came across the authy-ssh scripts which eases two-factor authentication for ssh servers. When i walk through scripts, i learned lot of cool things that i am going to share it with you.
Colors your echo
Lots of time, you want to color your echo output like green for success, red for failure, yellow for warning.
http://www.fizerkhan.com/blog/posts/Wha ... ripts.html