Feed on
Posts
Comments

to  send the standard output and standard error streams from your shell script somewhere, place the following at the top of your script:

#!/bin/bash

exec &>  output.file;

[the rest of your code]

Stumble it!

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.