2018-11-12 08:31:52 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
author: Alessandro Luini
|
|
|
|
category-page: advanced
|
|
|
|
category-title: Advanced commands
|
2018-11-14 21:15:38 +00:00
|
|
|
tags: echo print text
|
2018-11-12 08:31:52 +00:00
|
|
|
title: echo
|
2018-11-18 20:38:56 +00:00
|
|
|
previous-page: pages/cmd/advanced/diff.html
|
|
|
|
next-page: pages/cmd/advanced/emacs.html
|
2018-11-12 08:31:52 +00:00
|
|
|
---
|
|
|
|
|
2018-11-14 08:56:17 +00:00
|
|
|
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>
|
2018-11-14 21:15:38 +00:00
|
|
|
echo "hello world"
|
2018-11-14 08:56:17 +00:00
|
|
|
hello world
|
|
|
|
</pre>
|