[root@S238059 ~]# less 1.sh 

#!/bin/bash

for i in $(seq 0 $#)

do

        echo ${!i}

done

[root@S238059 ~]# ./1.sh a b

./1.sh

a

b