Use A Tab In Echo

by Kyle on · Posted in Bash

To use tabs, returns, and other formatting characters when using the echo command, be sure to specify the -e option:

echo -e "test \t\t This text is tabbed twice."

Save. Share. Submit.

Related Snips

Hide Sidebar