Bash: How to Echo Tab and Newline

While printing out result in bash, sometime we need to echo tab or newline for nice, gorgeous, maning looking format. The code below will NOT print tab space and newline


echo "usernamet passwordn"

In order to print tab and newline, invoke -e in the echo command


ehco -e "usernamett passwordn"

Tags: , , , , ,

Leave a Reply