AppleShowAllFiles does not show hidden files I use OS X 10.8, I type the following

defaults write com.apple.Finder AppleShowAllFiles YES
killall Finder


but still I cannot see any hidden files like .bash_history, .Trash, .cups, .gem etc. in user directory.
The bundle identifier is com.apple.finder in lowercase.

defaults write com.apple.Finder AppleShowAllFiles YES would also write the setting as a string, but it doesn't usually matter though.

defaults write com.apple.finder AppleShowAllFiles -bool true
osascript -e 'quit app "Finder"'