shift
Move positional parameters. More information: <https://manned.org/shift.1posix>.
Install
- All systems
-
curl cmd.cat/shift.sh
- Debian
-
apt-get install execline
- Ubuntu
-
apt-get install execline
- Alpine
-
apk add execline
- Kali Linux
-
apt-get install execline
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install execline
- Dockerfile
- dockerfile.run/shift
- 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