Write a command that
- feeds app data from
- saves the output to
- saves the error messages to
I am really new to Unix and was wondering if I am using the command line parameters correctly.
My command I was writing was:
$> app < input.dat > output.dat > 2> log.txt
From what I understand is the
< reads files as standard input.
> sets files as redirection from standard output, and
2> redirects error messages to a file.
Was wondering if my command is correct, and if not was wondering if someone could lend me a hand in this.