Skip to main content
added 1 characters in body
Source Link
Zombo
  • 1
  • 66
  • 403
  • 423

$1 is the first argument.
$@ is all of them.

How can I find the last argument passed to a shell script script?

$1 is the first argument.
$@ is all of them.

How can I find the last argument passed to a shell script?

$1 is the first argument.
$@ is all of them.

How can I find the last argument passed to a shell script?

Source Link
Thomas
  • 10.6k
  • 4
  • 28
  • 35

Getting the last argument passed to a shell script

$1 is the first argument.
$@ is all of them.

How can I find the last argument passed to a shell script?