🔥 3-day streak
CompTIA Linux+ (XK0-006)21 / 123
Question 21 of 123
You are writing a deployment script that accepts a variable number of hostnames as command-line arguments. After processing the first argument (a flag like --restart), you want to loop through the remaining arguments as hostnames. Which construct correctly removes the first positional parameter so that $@ contains only the remaining hostnames?
Reviewed for accuracy · Report an issueNext question