The ~ represents your home directory. If the user is linuxcool, the ~ would represent /home/linuxcool. So, .filename would be in the /home/linuxcool directory.
If you want to see hidden files when you are using a terminal window, use ls -a. The -a will let you see hidden files.
To see hidden files in your file manager, check the options of the file manager.