Jump to content

Talk:echo (command)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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)[reply]

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

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)[reply]

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)[reply]
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)[reply]