Multiple choice

Which of the following is used to know the username before deciding what it should do in Unix?

  1. TERM

  2. SHELL

  3. LOGNAME

  4. PS1

  5. IFS

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

LOGNAME is used in shell scripts, which requires the username just before deciding what it should do.