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=' 'x # res = "\t\tx" e...

How to use single quote inside an echo which is using single quote?

First of all, i have gone through the related questions.. haven't found any answer.. I m using this code to display ...

Echo table in PHP?

So far, I got my code to read from a .txt file, parse the info and output via html. My question is how can I can ec...

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=' 'x # res = "\t\tx" e...

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 a red color. How can I...

find: ‘echo’: Permission denied?

It is my os info: sudo uname -a Linux machine 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 G...

How to print new line character with echo??

I dump a string with hexdump like this 2031 3334 2e30 0a32 2032 3331 302e 000a. It is clear that 0x0a is new line ch...

Shell script echo new line to file?

I want to echo a new line to a file in between variables in a shell script. Here's my code: var1="Hello" var2="Wor...