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