Talk:echo (command)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Free Software / Software / Computing  (Rated Start-class, Mid-importance)
WikiProject icon This article is within the scope of WikiProject Free Software, a collaborative effort to improve the coverage of free software on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 Mid  This article has been rated as Mid-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (marked as Mid-importance).
Taskforce icon
This article is supported by WikiProject Computing (marked as Low-importance).


I assume this program is called echo because it repeats what you say to it? Am I wrong? --16@r 20:17, 8 October 2006 (UTC)

That's what I always assumed. --Gwern (contribs) 20:28, 8 October 2006 (UTC)

I know that echo is a keyword in PHP to display text. Does this keyword also exist in other programming languages ? 16@r 21:47, 8 October 2006 (UTC)

Yes. It is part of the DOS operating system, and is used in Linux command lines also. Not sure where it fits in linux, whether it's part of the shell or separate. In both cases, the input is parsed by the shell then passed to the echo command, which will redirect this new input to output. Handy, as will show the results of any shell pre-processing. Examples of the shell pre-processing: echo ./* in Linux, or echo %path% in DOS. -- (talk) 07:25, 18 August 2008 (UTC)
Whoops, by this manner of usage as an operating system command, it will constitute some part of several batch scripting languages. -- (talk) 07:29, 18 August 2008 (UTC)