Linux Terminal Glossary
›
Shell & Bash
shift 2
Category:
Shell & Bash
shift 2
Copy command
Shift positional parameters left by 2 positions
Removes the first 2 positional parameters, shifting the rest down by 2 positions.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.