1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-30 05:53:43 +02:00
tldr/pages/common/shift.md

12 lines
238 B
Markdown

# shift
> Move positional parameters.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-shift>.
- Remove the first positional parameter:
`shift`
- Remove the first `n` positional parameters:
`shift {{n}}`