Multiple choice

Which of the following commands is used to find whether the built-in exit commands end the current session or not and increment by one each time an instance of bash is started?

  1. IFS

  2. TEZ

  3. TERM

  4. SHILVL

  5. UID

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

SHILVL is an environment variable in UNIX which is used to find whether the built-in exit commands end the current session or not and increment by one each time an instance of bash is started.