How to make blender confirm closing an unsaved file? I know that this question has already been asked here, but it was 5 years ago, and I want to know if the answer has changed.

Can I make blender confirm closing an unsaved file? (I am using ubuntu linux)

Thanks!
Open File > User Preferences (Ctrl + Alt + U), under Interface tab on the lower left Prompt Quit