How to Pass Arguments to a Bash-Script
You can write a bash script such that it receives arguments specified when the script is called from the command line. This method is used when a script has to perform a slightly different function depending on the values of input parameters (the arguments).
For example, you may have a script called "stats.sh" that performs a par
READ Full article