Talk:Echo (command)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated Start-class, Mid-importance)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology 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.
 

Name[edit]

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. --131.217.6.7 (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. --131.217.6.6 (talk) 07:29, 18 August 2008 (UTC)