advanced: echo
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@119 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
2223903e21
commit
4117c629e5
1 changed files with 37 additions and 0 deletions
37
site/pages/cmd/advanced/echo.html
Normal file
37
site/pages/cmd/advanced/echo.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
layout: page
|
||||
author: Alessandro Luini
|
||||
category-page: advanced
|
||||
category-title: Advanced commands
|
||||
tags: echo calculator print
|
||||
title: echo
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
<h1>
|
||||
<i> echo: </i> Printing strings command
|
||||
</h1>
|
||||
|
||||
<p> In computing, echo is a command in Unix operating systems that outputs the
|
||||
strings it is being passed as arguments. <br>
|
||||
It is a command typically used in
|
||||
shell scripts and batch files to output status text to the screen or a
|
||||
computer file, or as a source part of a pipeline.</p>
|
||||
|
||||
<h3>How to use</h3>
|
||||
|
||||
<p> To use this simple command just type "echo" with the topic we want to
|
||||
print. The computer will return your argument as a string, for example,
|
||||
<pre><code> echo hello world</pre></code>
|
||||
will return hello world.
|
||||
</p>
|
||||
|
||||
|
||||
<h3>Skills</h3>
|
||||
<ul>
|
||||
<li><h4>bc:</h4> It permits you to make arithmetic calculation
|
||||
through the terminal using this format:
|
||||
<pre><code> echo 12+4 | bc</code></pre>
|
||||
will return 16.</li>
|
Loading…
Reference in a new issue