Multiple choice technology operating systems

Which Shell variable indicates search path for commands?

  1. IFS

  2. PATH

  3. SHLVL

  4. TERM

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The PATH environment variable contains a colon-separated list of directories where the shell looks for executable commands. IFS defines the input field separator, SHLVL tracks shell nesting level, and TERM specifies the terminal emulation type, making them incorrect.