CMD + Q to close Finder window in OS X

Issue

One of the most annoying things that I have encountered while using mac was the inability of os x to close the finder window with the default quit button(cmd+q) . The default button to close finder in os x is cmd+w. But that, for me is a slow process when I want to quit all applications quickly.

Solution

There is a simple way to achieve this. As simple as entering two commands in terminal. That commands being

defaults write com.apple.finder QuitMenuItem -bool yes

killall Finder

That’s it. You are done. Now you can use cmd+q to quit the finder windows.

Njoy smile