Files
cheatsheet-tldr/tldr/shift
2025-08-24 00:21:55 +00:00

18 lines
331 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`