Information
Visible filename extensions allows the user to identify the file type and the application it is associated with which leads to quick identification of misrepresented malicious files.
Solution
Perform the following to implement the prescribed state:
1. Select Finder
2. Select Preferences
3. Check Show all filename extensions
Alternatively, use the following command:
defaults write NSGlobalDomain AppleShowAllExtensions -bool true