Cloud & DevOps · Question 3 · Easy

Which Linux command lists all files in the current directory, including hidden files whose names start with a dot?

  1. ls -a
  2. ls -l
  3. ls -h
  4. ls -R
Answer and explanation

Answer: A. ls -a

Explanation: ls -a (all) also shows entries beginning with '.'. ls -l gives the long format, and ls -R lists subdirectories recursively.

Previous: A web-based email service that users simply open in a browser, with no… · Next: How do containers differ from virtual machines?

Practise cloud & devops

Try a fresh set of cloud & devops questions with an explanation after every answer, free and without signing up: Cloud & DevOps practice. Or sit a full placement mock test.

More cloud & devops questions

More technical & programming practice

GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge