bash arguments

This is a wiki page. Be bold and improve it!

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

First argument, second, third:

$1
$2
$3

Discard the first, then the second argument:

shift
shift

All the arguments passed to the script.

"$@"

Remaining arguments:

"$*"