terminal.cab

All commands

shift

Topic: Shell and scripts

Shell builtin: shift

Shifts the positional parameters.

Package: script

Usage

shift [n]

Description

Drop the first N positional parameters ($1, $2 ...), one if N is missing; the rest move to the front.

Options in the simulator

No options.

Where you learn it

No lesson yet.

All commands