« Back to File systems: Frequently Asked Questions

How to see hidden files

Use the ls command with -a combined to see hidden files on Linux. For a friendlier output, combine it with the option -l.

Hidden files

Hidden files start with a dot and are typically not displayed by default when using ls. Use ‘-al’ to show them.

# ls -al
total 90
drwxrwxr-x  7 michael michael   12 Apr  8 07:34 .
drwxrwxr-x  3 michael michael    3 Apr 28 11:19 ..
-rwxrwxr-x  1 michael michael  447 Mar 21 14:09 .editorconfig
-rwxrwxr-x  1 michael michael   17 Mar 21 14:09 .gitignore
-rwxrwxr-x  1 michael michael 1080 Mar 21 14:09 LICENSE.md
-rwxrwxr-x  1 michael michael 6923 Mar 21 14:09 README.md

Other questions related to Linux file systems

Feedback

Is the described answer not working or incorrect, got another tip or question? Share your thoughts!