Can I see hidden files with ls?

QuestionsQuestions8 SkillsProBasic Files OperationsNov, 14 2025
0119

By default, the ls command does not display hidden files, which are files whose names begin with a dot (.). To view hidden files, you can use the -a option with the ls command:

ls -a

This command will list all files, including hidden ones. If you want a detailed view, you can combine it with the -l option:

ls -la

This will show all files, including hidden ones, along with their detailed information.

0 Comments

no data
Be the first to share your comment!