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

In shell scripting, echo is the primary command for printing/outputting text to stdout. The printf command offers more formatting control but is not the basic print command. There is no standard 'print' command in shell, and 'echo$' is not a valid command (missing space).