shift - shift command is used to shift positional parameters
FORMAT
shift [n]
DESCRIPTION
The positional parameters can be shifted using this command. Positional parameter 1 shall be assigned the value of parameter (1+n), parameter 2 shall be assigned the value of parameter (2+n), and so on.
The parameters represented by the numbers "$#" down to "$#-n+1" shall be unset, and the parameter '#' is updated to reflect the new number of positional parameters.
The value n shall be an unsigned decimal integer less
...
Read more »