The UNIX School: getopts - How to pass command line options to shell script?
Checkout how the getopts is used here.It is used with the while command and an internal switch within while. "getopts dm name" - "dm" are the options expected by the getopts command and "name" is the variable which contains the options. switch case will b
www.theunixschool.com |