Linux Foundation Certified System Administrator (LFCS) — Question 127
Which of the following commands shows the definition of a given shell command?
Answer options
- A. where
- B. stat
- C. type
- D. case
Correct answer: C
Explanation
The correct answer is C, as the 'type' command provides information about how a command is interpreted by the shell. Option A, 'where', is not a standard shell command for this purpose, while B, 'stat', is used for retrieving file status, and D, 'case', is a conditional statement and not related to command definitions.