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

  • 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="">Reference</a>