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