Linux echo Command

In this tutorial we learn how to use echo commmand in Linux. echo command is echo - display a line of text

What is Linux echo Command?

In this tutorial we learn how to use echo command in Linux. echo command is echo - display a line of text

echo Syntax

       echo [SHORT-OPTION]... [STRING]...
       echo LONG-OPTION

echo Examples

echo Command Manual / Help

We can use man and info command to see the manual page of echo command.

echo command also have --help option to show list of options.

To open man page for echo command we can use command below. To exit man or info page you can press q.

man echo

To open info page for echo command we can use command below.

info echo

To open help page from echo command we can run command below.

echo --help

Linux echo Command Source Code

You can find echo command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use echo in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.