Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I want to redirect the output of a terminal cmd on linux to a output file . How can i do it ?? I tried the following without much sucess..open (temp_1, ">>/home/administrator") || die ""; my $rc = `evince bill.pdf`; #runs the command close (temp_1);
I am not able to append the output of the command to the file temp_1.. Help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PDF output to temp file
by kcott (Archbishop) on Mar 22, 2012 at 07:57 UTC | |
by rovf (Priest) on Mar 22, 2012 at 09:10 UTC | |
by kcott (Archbishop) on Mar 22, 2012 at 11:16 UTC | |
by rovf (Priest) on Mar 22, 2012 at 14:23 UTC | |
by kcott (Archbishop) on Mar 22, 2012 at 22:17 UTC | |
by Anonymous Monk on Mar 22, 2012 at 09:06 UTC | |
by kcott (Archbishop) on Mar 22, 2012 at 10:49 UTC |