Script parameters in Bash
The arguments that you provide to a bashscript will appear in the variables $1 and $2 and $3 where the number refers to the argument. $0 is the command itself. The arguments are seperated by spaces, so if you would provide the -from and -to in the command, they will end up in these variables … Read more