How to read command line arguments in a bash script


To input arguments into a Bash script, like any normal command line program, there are special variables set aside for this.

The arguments are stored in variables with a number in the order of the argument starting at 1


Source: https://how-to.fandom.com/wiki/How_to_read_command_line_arguments_in_a_bash_script


Read more on this website >>