Expression: ten-hut!

Hi,

Could you please tell me what the origin is of ‘ten-hut!’, I heard US soldiers say when they meet and salute to thier superiors. Is it a variant of ‘tin hat’?

Thank you!

Haihao

The full term is ‘a-ten-hut’, which is a military command for ‘attention’.

PS: I like your suggestion!