Bash — $# Dollar and sharp means arguments num Example bash -c 'echo $#' -a arg1 arg2 arg3 arg4 arg5 5 bash -c 'echo $#' 0 bash -c 'echo $#' -a "arg1 arg2 arg3 arg4 arg5" 1 Versions bash 4.4 Links Medium—imported