1.

case statement should have a corresponding closing esac.(a) True(b) FalseThis question was addressed to me in an international level competition.This is a very interesting question from Case and Expr Command in section Essential Shell Programming of Unix

Answer» RIGHT choice is (a) True

To explain I would SAY: Alike EVERY if statement is closed with a fi, CASE statement should also be closed with a CORRESPONDING esac. Without it, we’ll encounter an error.


Discussion

No Comment Found

Related InterviewSolutions