Getting the last argument passed to a shell script
Posted
by Thomas
on Stack Overflow
See other posts from Stack Overflow
or by Thomas
Published on 2009-12-05T23:58:13Z
Indexed on
2010/03/13
19:55 UTC
Read the original article
Hit count: 263
$1
is the first argument.
$@
is all of them.
How can I find the last argument passed to a shell script?
© Stack Overflow or respective owner