asha_mail has asked for the wisdom of the Perl Monks concerning the following question:
Example:
$cmd is variable used to give user input from drop down box. At run time if i give$a=`dd if=/dev/$cmd of=/dev/null bs=4096 count=2 > ddlog.txt 2>&1`;
$a=`dd if=/dev/ram0 of=/dev/null bs=4096 count=2 > ddlog.txt 2>&1`; the output is printed on terminal but i want it to display in textbox.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Adding DD Unix command in Perl
by JavaFan (Canon) on Dec 09, 2011 at 10:47 UTC | |
| |
|
Re: Adding DD Unix command in Perl
by pvaldes (Chaplain) on Dec 09, 2011 at 12:57 UTC | |
by asha_mail (Novice) on Dec 09, 2011 at 13:09 UTC | |
by pvaldes (Chaplain) on Dec 09, 2011 at 15:32 UTC | |
by ikegami (Patriarch) on Dec 09, 2011 at 20:03 UTC |