The echo command is one of the most commonly and widely used built-in commands for Linux bash and C shells, that typically used in a scripting language and batch files to display a line of text/string on standard output or a file. echo command examples The syntax for the echo command is: echo [option(s)] [string(s)]