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