How to Find Your Closest Anycast DNS Server with Dig
Most ISP deploys Anycast DNS server on their network and bring the closest DNS server to their user for DNS resolver. You may see a DNS server with a single IP Address but there are multiple DNS Servers running on…
How to View Chinese Character with iTerm in Mac OSX
I guess most people use iTerm in Mac OSX, me too 🙂 I do have a lot Chinese character file, or rather MP3 to view in Chinese character. To enable Chinese character in iTerm, change the encoding to UTF-8 Open…
Exim: Restrict Authenticated Outgoing Email with Sender Domain
Most of the outgoing SMTP server allowed the user to set different sender email address once it is authenticated. But we might be in risk for allowing the user to send outgoing bulk/spam email via authenticated SMTP with different sender…
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 “username\t password\n” In order to print tab and newline,…
How to Set VI or VIM Tab Space
By default, vi or vim editor tab space is 8 spaces. You can configure preferred space by the value below in .vimrc file set tabstop=2 set shiftwidth=2
Recent Comments