how to see hidden directories with ls code example Example 1: view hidden files ls $ ls -a OR $ ls -al Example 2: ls show hidden files $ ls -a $ ls -al