Multiple choice

Which of the following is the system variable in shell that is used for splitting word after expansion and for splitting lines into words and used as a built-in variable by read command?

  1. HOME

  2. LANG

  3. TIMEOUT

  4. IFS

  5. HOSTNAME

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

IFS stands for Internal Field Separator. This is the system variable in shell that is used for splitting word after expansion and for splitting lines into words and used as a built-in variable by read command.