#!/bin/bash echo "the $1 eats a $2 every time there is a $3" echo "bye:-)"
save as eat.sh
bash eat.sh dog bone moose
the dog eats a bone every time there is a moose bye:-)
$1/$2/$3 =var in order of supplied parms
blog about linux tricks
#!/bin/bash echo "the $1 eats a $2 every time there is a $3" echo "bye:-)"
save as eat.sh
bash eat.sh dog bone moose
the dog eats a bone every time there is a moose bye:-)
$1/$2/$3 =var in order of supplied parms