I read this page What are the special dollar sign shell variables? but I still don't get what $#
does.
I have an example from a lecture slide:
#!/bin/sh
echo Total no. of inputs: $#
echo first: $1
echo second: $2
I assume $# takes in all inputs as the argument, and we should expect two inputs. Is that what it's doing?