CompTIA A+ Core 2 (220-1002) — Question 254

A technician is updating a Linux server that had been in storage. After booting into single-user mode, a command is issued that displays the technician's current location in the filesystem. Which of the following commands was issued?

Answer options

Correct answer: A

Explanation

The correct answer is 'pwd', which stands for 'print working directory' and is used to display the current directory in the filesystem. The other options serve different purposes: 'passwd' is for changing user passwords, 'apt-get' is a package management command, and 'grep' is used for searching text using patterns.