i execute

some_long_running_command | mail billy_bob@localhost

where is the output of the command stored while it is running before it's mailed

Reply via email to