How to handle missing args in shell script

Viewed 44752

What's the "right" way to handle missing arguments in a shell script? Is there a pre-canned way to check for this and then throw an exception? I'm an absolute beginner.

5 Answers
Related