Arguments: $1, $# and "$@"

The words typed after a script's name are its arguments: $1 is the first, $2 the second, $# says how many there are, and "$@" hands all of them on, each in one piece.

Updated

Cheat sheet for the lesson Arguments: $1, $# and "$@": The words typed after a script's name are its arguments: $1 is the first, $2 the second, $# says how many there are, and "$@" hands all of them on, each in one piece.
Category
Bash
Level
Apprentice
Tags
argument, linux, positional-parameter, shell-script, unix