shift [n]
The positional parameters from $N+1 ... are renamed to $1 ... If N is not given, it is assumed to be 1.
Exit status: 0 on success, 1 if n is greater than the number of positional parameters or less than zero.
Reference: https://cgit.git.savannah.gnu.org/cgit/bash.git/plain/builtins/shift.def?h=bash-5.3