Linux echo Command
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-OPTIONecho 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 echoTo open info page for echo command we can use command below.
info echoTo open help page from echo command we can run command below.
echo --helpLinux echo Command Source Code
You can find echo command source code from the folowing repositories:
- echo source code on GitHub
- echo source code on GNU Savannah cgit
- echo source code on GNU Savannah gitweb
Related Linux Commands
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.