What is a captain commanding a squadron, or a division of a fleet, or having the temporary rank of rear admiral called?

commodore — (Brititsh Navy) A captain commanding a squadron, or a division of a fleet, or having the temporary rank of rear admiral. (Webster's 1913.)

Sources