list hidden files in linux terminal code example Example 1: view hidden files ls $ ls -a OR $ ls -al Example 2: ls show hidden files $ ls -a $ ls -al