What Linux command is used to display the contents of the current directory?

IT Exam Items RepositoryCategory: DevNetWhat Linux command is used to display the contents of the current directory?

What Linux command is used to display the contents of the current directory?

  • pwd
  • cat
  • ln
  • ls

Explanation: The Linux ls command, without any options, is used to display the contents, such as files and subdirectories, of the current directory.

Related exam: 1.2.3 Quiz - Linux Review