There are some predefined variables which holds some data related to arguments in shell. $# - to print ...
viewsby.wordpress.com