The officer in command of, and typically having ultimate authority over, a military unit.
guv'nor
noun
An informal form of address to a man; see guv. This version is especially likely to be applied to the owner of a business or the landlord of a public house.
How often have the words commanding officer and guv'nor occurred in a corpus of books? (source: Google Ngram Viewer )