Top "Echo" questions

Simple function outputting text.

Echo newline in Bash prints literal \n

In Bash, tried this: echo -e "hello\nworld" But it doesn't print a newline, only \n. How can I make …

bash echo newline
How to change the output color of echo in Linux

I am trying to print a text in the terminal using echo command. I want to print the text in …

linux bash command-line echo terminal-color
How can I echo HTML in PHP?

I want to conditionally output HTML to generate a page, so what's the easiest way to echo multiline snippets of …

php html templates echo
Multi-line string with extra space (preserved indentation)

I want to write some pre-defined texts to a file with the following: text="this is line one\n this …

string bash shell echo
Echo tab characters in bash script

How do I echo one or more tab characters using a bash script? When I run this code res=' …

bash tabs echo spaces
How to use css style in php

Im using php to display data from mysql. Here are my css statements: <style type=”text/css”> table { …

php css echo
How can I suppress all output from a command using Bash?

I have a Bash script that runs a program with parameters. That program outputs some status (doing this, doing that...). …

bash shell scripting echo
How do I print all POST results when a form is submitted?

I need to see all of the POST results that are submitted to the server for testing. What would be …

php post echo
Echo off but messages are displayed

I turned off echo in bat file. @echo off then I do something like this ... echo %INSTALL_PATH% if exist %…

batch-file cmd echo
Add php variable inside echo statement as href link address?

I'm trying to use a php variable to add a href value for a link in an echo statement. Here's …

php variables echo href double-quotes