1.

Shell scripts are executed in a separate child shell process.(a) True(b) FalseI have been asked this question in an internship interview.This key question is from Shell Programming using read Command and Command Line Arguments in section Essential Shell Programming of Unix

Answer»

Right option is (a) True

Easy explanation: Shell scripts are executed in a separate child process, and this sub-shell NEED not be of the same type as our login shell. In other words, EVEN if our login shell is bourne, we can USE a KORN sub-shell to run our SCRIPT.



Discussion

No Comment Found

Related InterviewSolutions