1.

echo command is used for _________(a) displaying errors(b) displaying operating system details(c) displaying diagnostic messages(d) displaying date and timeI have been asked this question in examination.My enquiry is from General Purpose Commands topic in section The Unix Architecture & General Purpose Utilities of Unix

Answer»

Right answer is (c) displaying diagnostic messages

Easy explanation: ECHO command is generally used for displaying diagnostic messages on to the terminal or to ISSUE prompt for READING the user input. All shells now have echo built in i.e. it is an internal command.



Discussion

No Comment Found

Related InterviewSolutions