running consecutive commands in bash
40 bytes

for a in ${@:2};do eval "${1} ${a}";done


Usage: ./[filename] "[primary command]" [arguments]

Ex. ./twice "sudo apt" update upgrade (Assumes 'twice' as file name)

Was this what you wanted?

Note: Please golf me further if it is possible, and correct me if I'm wrong. This was my first bash entry.