diff --git a/pages/common/shift.md b/pages/common/shift.md new file mode 100644 index 0000000000..97d4e70a8d --- /dev/null +++ b/pages/common/shift.md @@ -0,0 +1,12 @@ +# shift + +> Bash built-in command that shifts the arguments passed to the calling function or script by a specified number of places. +> More information: . + +- Move arguments by one place dropping the first argument: + +`shift` + +- Move arguments by N places dropping the first N arguments: + +`shift {{N}}`