The shift command is defined in the POSIX standard. It is not a Bash built-in command. Saying this implies that it's Bash-only, which is not true. More info here: https://manned.org/shift.1p