Multiple choice technology operating systems

What is the command used for printing in Shell Script?

  1. print

  2. printf

  3. echo

  4. echo$
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The echo command is the standard shell command for printing text to stdout. While printf offers more formatting options, echo is the most basic and commonly used print command. 'print' is not a standard Unix shell command (it exists in some languages like Perl but not in bash/sh).