$# in unix shell scripting what does it mean

Hi can some one let me know what is the meaning of

$#

$@

$_

@_ in unix shell scripting.

I really appreciate your time for replying to my post.

Thanks In Advance

Check this

1 Like

Thanks a lot for the link.

so $# returns the input arguments ?

---------- Post updated at 01:50 PM ---------- Previous update was at 01:48 PM ----------

can someone explian them insimple words?

$# represents the number of arguments:

$ set -- a
$ echo $#
1

$ set -- a b c
$ echo $#
3
2 Likes

I understood it very clearly now..

Thanks a lot scottn