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