shift

Shift positional parameters

low risk

interactive breakdown — edit the command and press Explain
$ 
What it does

Drops $1 and moves the others down. See the flags and examples below, and run `man shift` for the full reference.

Examples
shift 2Drop two arguments · explain & risk-check →
Related
getopts set
Open the full explainer →More in Shell & Scripting

Reference text is hand-written and may be incomplete — check man shift for your version. Test destructive commands on a non-production system first.