what is the difference between print and echo in unix?
echo always exits with a 0 status, and simply prints arguments followed by an end of line character on the standard output, while printf allows for definition of a formatting string and gives a non-zero exit status code upon failure. ... that is obviously slower than without printing the \n , but yet faster than echo .