Multiple choice technology operating systems

There are 10 dot files (i,e files starting with .).What will be the output of ls command?

  1. dot files will not be listed

  2. Last dot file only be listed

  3. only latest dot file be listed

  4. dot files will be listed

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

By default, the 'ls' command hides 'dot files' (files starting with a period). To see them, the -a or -A flag must be used. Therefore, without flags, dot files will not be listed.