Return Status

Hi can you explain me, what does variables $@ and $* return and how are they used, if can give me a sample example it could be helpful.

Thanks in advance,
Regards,
Abhishek S.

They are both positional parameters. Variables that store all your arguments. Useful e.g. when you can loop through arguments.

from Advanced bash scripting guide
Look here for examples:
Special Variable Types