LPIC-1 Exam 101 v5 (Linux Administrator) — Question 54

Which of the following commands show how the shell handles a specific command?

Answer options

Correct answer: B

Explanation

The 'type' command is used to determine how the shell interprets a command, showing whether it's a built-in command, an alias, or an external command. The other options do not provide this specific information; for example, 'where' is used to find the location of executables, 'stat' retrieves file status, 'case' is a control structure in scripts, and 'fileinfo' is not a standard command.