Google News
logo
Unix - Quiz(MCQ)
echo command is used for ______
A)
displaying diagnostic messages
B)
displaying errors
C)
displaying date and time
D)
displaying operating system details

Correct Answer :   displaying diagnostic messages


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.

$ echo hello
hello​

Advertisement