Select the command that can report the location of a command:

  • Post author:
  • Post category:Blog
  • Post last modified:May 9, 2024
  • Reading time:1 mins read

Select the command that can report the location of a command:

  • what
  • which
  • where
Answers Explanation & Hint:

The command that can report the location of a command in Linux is which.

The which command is used to locate the binary executable corresponding to the given command in the directories listed in the PATH environment variable. When you run which followed by a command name, it will display the full path to the executable of that command, showing you the location of the command’s binary on the system

For more Questions and Answers:

NDG Linux Essentials 2.21 | Command Line Skills Module 5 | Chapter 05 Exam Answers Full 100%