in reply to Re^2: perl ftp
in thread perl ftp
The simple redirection perl script.pl >file will send only STDOUT to the file.
perl script.pl 2>file will send the STDERR to the file. The 2> selects STDERR as the file handle.
This command redirects both STDOUT and STDERR to a file. perl script.pl >file 2>&1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl ftp
by srini_veera (Initiate) on May 20, 2005 at 20:02 UTC | |
|
Re^4: perl ftp
by srini_veera (Initiate) on May 20, 2005 at 19:11 UTC | |
by derby (Abbot) on May 20, 2005 at 19:28 UTC |