[clug] shell stdout and stderr
Tony and Robyn Lewis
beakysnugger at yahoo.co.uk
Thu Dec 1 04:28:13 GMT 2005
Arafangion wrote:
>I don't understand what you mean - what don't you want about the following:
>
>arafangion at therock:~$ cat test
>#!/bin/bash
>/test
>arafangion at therock:~$ ./test 2> test.out
>
>
Here's the problem (above). I don't want to specify the redirection on
the command line - I want it to be set up and enacted from within the
script.
>arafangion at therock:~$ cat test.out
>./test: line 2: /test: No such file or directory
>arafangion at therock:~$
>
>
More information about the linux
mailing list