Postfix Configure Client SMTP Authentication ( Smarthost Authentication )

Posted on in Categories , , , , , , , , , , , last updated March 12, 2009

My ISP requires that mail from my dynamic IP to our small business email addresses uses their outgoing SMTP servers. This is probably done to reduce abuse and spam but now I’m not able to send email and local Postfix log file displays authentication failure message. How do I relay mail through my mail ISP servers using Postfix SMTP under Linux / UNIX like operating systems?

xargs: How To Control and Use Command Line Arguments

Posted on in Categories , , , , , , , , , , last updated September 2, 2010

I am trying to use xargs command using shell pipes and not able to understand how to control and use command line arguments. For example I’d like to find out all *.c file located in 100s of sub-directories and move them to another directory called ~/old.src. How do I use command line args with xargs to achieve the same?

BASH Shell Redirect Output and Errors To /dev/null

Posted on in Categories , , , , , , , , , , , , , last updated February 2, 2015

How do I redirect output and errors to /dev/null under bash / sh shell scripting? How do I redirect the output of stderr to stdout, and then redirect this combined output to /dev/null device? In Unix, how do I redirect error messages to /dev/null?

UNIX / Linux: Display Large Colourful Text Banner On Screen

Posted on in Categories , , , , , , , , , last updated February 10, 2009

I know how to use old banner command to print a large, high quality banner on the screen or printer. Recently, I saw colorful banner on friends laptop. How do I display large colourful characters on screen, especially on terminal? How do I create colorful text banners on screen?