shift

Move positional parameters. More information: <https://manned.org/shift.1posix>.

Install

All systems
curl cmd.cat/shift.sh
Debian Debian
apt-get install execline
Ubuntu
apt-get install execline
Alpine
apk add execline
image/svg+xml Kali Linux
apt-get install execline
Windows (WSL2)
sudo apt-get update sudo apt-get install execline
Docker
docker run cmd.cat/shift shift powered by Commando

Move positional parameters. More information: <https://manned.org/shift.1posix>.

  • Remove the first positional parameter:
    shift
  • Remove the first `N` positional parameters:
    shift N

© tl;dr; authors and contributors