Multiple choice technology architecture

How the Directories will be listed on execution of the Command [$ls –A] ?

  1. Displays nonprintable characters in an octal (\nnn) notation.

  2. Displays only the information for the directory named.

  3. Sorts output vertically in a multicolumn format.

  4. Lists all entries except . (dot) and .. (dot-dot).

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

ls -A lists all directory entries except . (current directory) and .. (parent directory). This is different from ls -a which shows all entries including these special directory references. -A gives a cleaner view of actual files and subdirectories.