Ace your COMPTIA A+ certification with our practice exam. Engage with a variety of questions including multiple choice and performance-based, complete with hints and detailed explanations. Prepare effectively and boost your confidence for the big day!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which command is used to view local directory file info including permissions in Linux?

  1. chmod -l

  2. ls -l

  3. ls -a

  4. chmod +l

The correct answer is: chmod -l

The command used to view local directory file information including permissions in Linux is "ls -l". The other options, "chmod -l", "ls -a", and "chmod +l" do not provide the required output as they either refer to a different command or have incorrect syntax. "chmod -l" displays the symbolic permission representation of a file or directory, "ls -a" lists all files and directories, and "chmod +l" sets the permissions to include the execute permission for all users. Therefore, these options are not the correct command to view local directory file info.