1.

Command substitution requires the command to use ________(a) standard input(b) standard output(c) standard error(d) all of the mentionedI got this question in an interview for internship.This is a very interesting question from Command Substitution and Shell Variables in division The Shell of Unix

Answer»

The correct answer is (b) STANDARD output

The best I can explain: The SHELL enables one or more command ARGUMENTS to be obtained from the standard output of another command. This feature is called command substitution and it requires the command to use the standard output (STREAM).



Discussion

No Comment Found

Related InterviewSolutions