first command line argument bash code example Example: bash get first argument function_name () { echo "Parameter #1 is $1" }