728x90 AdSpace

Saturday, 26 August 2017

echo - Linux Command


echo [options] [string]

Send (echo) the input string to standard output. This is the /bin/echo command. echo also exists as a command built into bash. The following character sequences have special meanings:

Alert (bell).


Suppress trailing newline.

Form feed.


Carriage return.

Horizontal tab.

Vertical tab.

Literal backslash.

The octal character whose ASCII code is nnn.


Enable character sequences with special meaning. (In some versions, this option is not required in order to make the sequences work.)

Disable character sequences with special meaning.

Suppress printing of newline after text.

Print help message and then exit.

Print version information and then exit.


/bin/echo "testing printer" | lp /bin/echo "TITLE" > file ; cat doc1 doc2 >> file /bin/echo "Warning: ringing bell \a"
Annamalai Thangaraj

Annamalai is working as Technical Lead in Leading Telecom company with 5+ years experience in Identity and Access Management , Telecom and Networks, BigData, Java, Spring, Struts, Hibernate, AngularJS, and Enterprise Web Application Development.

Website: Java Tutorials Corner

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments


Post a Comment

Item Reviewed: echo - Linux Command Rating: 5 Reviewed By: Annamalai Thangaraj