Assume I have a flat file, empFile, containing employee name and employee id as shown below:
Hilesh, 1001 Bharti, 1002 Aparna, 1003 Harshal, 1004 Keyur, 1005
Hilesh, 1001 Bharti, 1002 Aparna, 1003 Harshal, 1004 Keyur, 1005
$# - Total number of arguments $0 - Command or the script name $1,$2, $3 - First, second and third args respectively. $* - All the command line arguments starting from $1.