Best Answer: What Does Echo Command Do in Unix?
Contents

Echo is a Unix/Linux command tool used for displaying lines of text or string which are passed as arguments on the command line. This is one of the basic command in linux and most commonly used in shell scripts.

What does echo command do in linux?

echo command in linux is used to display line of text/string that are passed as an argument . This is a built in command that is mostly used in shell scripts and batch files to output status text to the screen or a file.

How does echo command work?

echo is a built-in command in the bash and C shells that writes its arguments to standard output. … When used without any options or strings, echo returns a blank line on the display screen followed by the command prompt on the subsequent line.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest