2018-11-12 08:31:52 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
author: Alessandro Luini
|
|
|
|
category-page: advanced
|
|
|
|
category-title: Advanced commands
|
|
|
|
tags: echo calculator print
|
|
|
|
title: echo
|
|
|
|
---
|
|
|
|
|
2018-11-14 08:56:17 +00:00
|
|
|
<p>
|
|
|
|
In computing, <code>echo</code> is a command in Unix operating systems that outputs the
|
|
|
|
strings it is being passed as arguments.<br>
|
2018-11-12 08:31:52 +00:00
|
|
|
|
2018-11-14 08:56:17 +00:00
|
|
|
It is a command typically used to output status text to the screen or a
|
|
|
|
computer file, or as a source part of a pipeline.<br>
|
2018-11-12 08:31:52 +00:00
|
|
|
|
2018-11-14 08:56:17 +00:00
|
|
|
To use this simple command just type "echo" with the topic we want to
|
|
|
|
print. The computer will return your argument as a string
|
2018-11-12 08:31:52 +00:00
|
|
|
|
2018-11-14 08:56:17 +00:00
|
|
|
<pre>
|
|
|
|
echo "hello world"
|
|
|
|
hello world
|
|
|
|
</pre>
|
|
|
|
</p>
|