Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 395 Bytes

reading_cli_arguments.md

File metadata and controls

19 lines (14 loc) · 395 Bytes

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