What is the vessel which carries the commanding officer of a fleet or squadron and flies his distinctive flag or pennant called?

flagship — The vessel which carries the commanding officer of a fleet or squadron and flies his distinctive flag or pennant. (Webster's 1913.)

Sources