Here's a tutorial on redirection when using bash.
In reply to Re: Using @ARGV with an ‘>’ in the command line by imp in thread Using @ARGV with an ‘>’ in the command line by chinamox