Multiple choice

View the permissions of a file or all items in a directory.

  1. ls -l [path]

  2. ls [path]

  3. dir [path]

  4. dir -l [path]

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

The ls command lists directory contents. The -l flag enables the long listing format, which displays permissions, owner, size, and modification time.