How do I find the number of arguments passed to a Bash script?

The number of arguments is $#

Search for it on this page to learn more.

Leave a Comment