How to show hidden files in MacOS Finder

#MacOS

To show hidden files in Finder on MacOS, you can use the following keyboard shortcut:
CMD + SHIFT + .

Just go to the folder where you want to see the hidden files and press the shortcut. To hide the files again, press the same shortcut.