Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as a developer

View project on GitHub

Reading Command Line Arguments

Reading arguments from the command line is quite useful:

echo "the $1 eats a $2 every time there is a $3"
echo "bye:-)"
$ Command: ./script.bash dog bone moose
the dog eats a bone every time there is a moose