til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Reading Command Line Arguments

Reading arguments from the command line is quite useful:

#!/bin/bash
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
bye:-)

References