Top "Echo" questions

Simple function outputting text.

How to unsupress local echo

I am trying to suppress the local echo of a password in a telnet session by sending 0xFF 0xFD 0x2…

telnet echo
How to make echo interpret backslash escapes and not print a trailing newline?

I would like to use echo in bash to print out a string of characters followed by only a carriage …

bash echo
Why can't I specify an environment variable and echo it in the same command line?

Consider this snippet: $ SOMEVAR=AAA $ echo zzz $SOMEVAR zzz zzz AAA zzz Here I've set $SOMEVAR to AAA on the …

bash environment-variables echo
How can I enter a password using Perl and replace the characters with '*'?

I have a Perl script that requires the user to enter a password. How can I echo only '*' …

perl terminal passwords echo
Echo curl request header & body without sending it?

With the curl command line tool, is it possible to echo, print, or view the request, and not send it? …

curl http-headers request httprequest echo
Echoing a backspace

Is it possible to echo a backspace in bash? Something like echo $'stack\b' Shouldn't output stac? Or I'm missing …

bash echo
How to get osx shell script to show colors in echo

I'm trying to add color output to my errors in a bash script that I have running on a mac. …

macos bash shell echo
How to echo "2" (no quotes) to a file, from a batch script?

How do I echo the number 2 into a file, from a batch script? This doesn't work: Echo 2>> file.…

windows batch-file cmd echo io-redirection
PowerShell "echo on"

This is a duplicate of https://serverfault.com/questions/102098/powershell-script-showing-commands-run. I thought it would be more appropriate to ask this …

powershell command echo
Add / Divide Numbers in PHP

I am working on a Facebook App that needs to be able to average three numbers. But, it always return 0 …

php math echo add divide