CompTIA Linux+ Powered by LPI (LX0-103) — Question 42

Which of the following commands shows the definition of a given shell command?

Answer options

Correct answer: C

Explanation

The correct answer is C, as the 'type' command in a shell environment reveals how a command is interpreted, whether it is a built-in command, an alias, or a function. The other options do not provide definitions for shell commands; 'where' is typically used to locate files, 'stat' retrieves file status, and 'case' is used for conditional expressions in scripts.