#!/usr/bin/env bash
echo "I was called with $# parameters"
echo "My name is: $0"
echo "All parameters are: $@"
echo "With @"
for var in "$@"
do
echo " Parameter: $var"
done
echo "With *"
for var in "$*"
do
echo " Parameter: $var"
done
echo "This contains the exit value of the last run command: $?"