I wanted to pass 2 fixed and remaining 'n' number of arguments to the script which I wanted to store in an array variable. Could someone please suggest how to achieve this via code. Example:
sh myScript.sh fixedArgument1 fixedArgument2 var1 var2 ... varN
N can be anything but not more than 15.
Also, I can get the value of fixedArgument1 in script via $1 and fixedArgument2 $2 but how to put the remaining arguments in array variable.
bashtag and remove theshtag.