i run a command preceded by time and pipe it to mail the results of time is not included in the mail time sleep 2 2>&1 | mail -s foo bar@localhost Null message body; hope that's ok real 0m2.095s user 0m0.011s sys 0m0.002s