how to run loops over command line arguments in bash code example Example: linux loop over all arguments one by one for var in "$@" do echo "$var" done