DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Use A Tab In Echo

08.17.2009
| 5100 views |
  • submit to reddit
        To use tabs, returns, and other formatting characters when using the <i>echo</i> command, specify the <i><b>-e</b><i> option: 

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

<a href="http://www.linuxquestions.org/questions/linux-newbie-8/tab-in-bash-script-242400/">Reference</a>