/var/logs/paulooi.log
Menu
  • About Me
  • Contact
  • Privacy Policy
Systems Admin, Web Development and etc
Browse: Home » echo

Bash: How to Echo Tab and Newline

January 24, 2011 · by Paul Ooi · in Systems

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

1
2
3
4
5
6
7
 
 
 
echo "username\t password\n"
 
 
 

In order to print tab and newline, invoke -e…

Recent Posts

  • How to Rsync from Remote Server to Synology
  • Are you a Programmer and Preparing for an Interview?
  • Sublime Text Editor – Package Control
  • Interesting Services on Fiverr
  • Finally, a new Theme

Recent Comments

  • Mo Beigi on How to Rsync from Remote Server to Synology
  • Finley Hall on How to Flush DNS Cache in Apple Mac OSX Leopard
  • Bob on How to Rsync from Remote Server to Synology
  • DaveQB on Setup Sendmail Smart Relay in FreeBSD
  • takizo on How to Check Paypal Pre-Approved Payment List

Copyright © 2021 /var/logs/paulooi.log

Powered by WordPress and Origin