1.

The ____ allows us to read data from the same file containing the script.(a) >>(b)

Answer»

The CORRECT option is (b) <<

Easy explanation: It may happen that the data our program wants to read is fixed and limited. The shell uses << symbol to read data from the same file containing the script. This is REFERRED to as a here document, SIGNIFYING that the data is here rather than in a separate file.



Discussion

No Comment Found

Related InterviewSolutions