Prepare for the COMPTIA A+ Exam. Test your knowledge with our flashcards and multiple choice questions, complete with hints and explanations. Ensure you're ready for exam 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.