What do $0 and $1 represent inside a script?
$0
$1
Both values report the total number of arguments.
They are environment variables that must be exported manually.
$0 is the invoked script name and $1 is the first command-line argument.
$0 is the argument count and $1 is the script name.