Or, just type the command “history”, find the index number of the desired command, then type “! ”, then .
Or, just type the command “history”, find the index number of the desired command, then type “! ”, then .