Redo last command

That’s not it. What OP meant is, if there is a shortcut which lets you “repeat the last action” over and over again, as many times as you need. An example would be duplicating an object over and over while maintaining the same distance and rotation from the last one, such as shown in this video: