view hidden file on mac code example Example 1: how to see hidden files in mac Cmd + Shift + . (dot) Example 2: show hidden files mac cmd + shift + .