good-night

phrase in parting for the evening or retiring to sleep, c. 1200, from good (adj.) + night. As an exclamation of surprise from 1893.