Cloud & DevOps · Question 18 · Easy

Which Linux command prints the full path of the current working directory?

  1. cd
  2. ls
  3. pwd
  4. whoami
Answer and explanation

Answer: C. pwd

Explanation: pwd stands for 'print working directory'. cd changes the directory, ls lists its contents and whoami prints the current user name.

Previous: A bank keeps sensitive customer data in its own on-premises data centre but… · Next: What does Infrastructure as Code (IaC) mean?

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