In Linux (specifically), what's the difference between making files hidden by adding a "." before the name, or adding a "~" after the name. I know that both work for files, and that only the period (to my knowledge) works for folders.
Whenever I search it, I always see tutorials that use the "." method, but whenever I see hidden files on my computer, they always use the "~" method, but those are always backup files.
I previously asked this on Stack Overflow, but they recommended I ask here instead. I hope this is the correct place.