how to open hidden files linux code example Example 1: view hidden files ls Click to copy$ ls -a OR $ ls -al Example 2: ls show hidden files Click to copy$ ls -a $ ls -al