Use shift.
Read $1 for the first argument before the loop (or $0 if what you’re wanting to check is the script name), then use shift, then loop over the remaining $@.
Use shift.
Read $1 for the first argument before the loop (or $0 if what you’re wanting to check is the script name), then use shift, then loop over the remaining $@.