# print all arguments: #!/bin/bash echo $@ # If you intend to do something with your arguments within a script: #!/bin/bash for i; do echo $i done