1.

Which one of the following is an internal command?(a) cut(b) expr(c) set(d) IsThis question was addressed to me in an interview.My doubt is from Shell Programming using Various Commands in portion Essential Shell Programming of Unix

Answer»

The correct CHOICE is (c) set

For EXPLANATION I would say: set statement is an INTERNAL command which assigns its ARGUMENTS to POSITIONAL parameters $1, $2 and so on. While cut, Is and expr are external commands.



Discussion

No Comment Found

Related InterviewSolutions