1.

We can use the here document with interactive programs also.(a) True(b) FalseThe question was posed to me during an interview.Enquiry is from Shell Programming using Various Commands in division Essential Shell Programming of Unix

Answer»

The CORRECT choice is (a) True

The best explanation: MANY commands require input from the user. So we can USE the here document with interactive programs also. In this MANNER, we can instruct any script to take the input non-interactively by supplying the input using the here document. For example,



Discussion

No Comment Found

Related InterviewSolutions