know one's onions

To be well acquainted with a subject.
Categories: British slang verb